sw/source/uibase/config/viewopt.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit f76184196f16f22a8c70d7400a3282f4ab6e4257 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Wed Aug 3 21:19:09 2022 -0800 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Aug 8 13:50:51 2022 +0200 tdf#148240 follow up: Make Outline-Folding non-experimental Change-Id: I147591c8088b1fad0575b2efe46f862573147fe9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137774 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins Reviewed-by: Jim Raykowski <rayk...@gmail.com> (cherry picked from commit a9d225df2f8772e21435523ca20df1ece37390e4) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137957 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx index 66ea4daa05f4..c5e6f3e56b9e 100644 --- a/sw/source/uibase/config/viewopt.cxx +++ b/sw/source/uibase/config/viewopt.cxx @@ -98,14 +98,12 @@ bool SwViewOption::IsEqualFlags( const SwViewOption &rOpt ) const bool SwViewOption::IsShowOutlineContentVisibilityButton() const { - return officecfg::Office::Common::Misc::ExperimentalMode::get() && - (m_nCoreOptions & ViewOptFlags1::ShowOutlineContentVisibilityButton); + return static_cast<bool>(m_nCoreOptions & ViewOptFlags1::ShowOutlineContentVisibilityButton); } bool SwViewOption::IsTreatSubOutlineLevelsAsContent() const { - return officecfg::Office::Common::Misc::ExperimentalMode::get() && - (m_nCoreOptions & ViewOptFlags1::TreatSubOutlineLevelsAsContent); + return static_cast<bool>(m_nCoreOptions & ViewOptFlags1::TreatSubOutlineLevelsAsContent); } void SwViewOption::DrawRect( OutputDevice *pOut,