summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2022-08-03 21:19:09 -0800
committerJim Raykowski <raykowj@gmail.com>2022-08-06 03:49:34 +0200
commita9d225df2f8772e21435523ca20df1ece37390e4 (patch)
tree7826f9826ba9758b21af1d8d08e12ea5b96e4e97
parent7716a43e76fe26ba31393b31cfa967f5fcb6e747 (diff)
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 <serval2412@yahoo.fr> Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
-rw-r--r--sw/source/uibase/config/viewopt.cxx6
1 files changed, 2 insertions, 4 deletions
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,