sw/source/ui/config/optpage.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
New commits: commit 2525bab2fcca179263a4b3496bb929df61d0e2bf Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Mon Mar 28 21:12:24 2022 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue Mar 29 17:39:07 2022 +0200 tdf#148240: Make Outline-Folding non-experimental Change-Id: I8de81ec13228d0742a3b12af97edb1b97643a790 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132243 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index bfdbc877c869..4374751f0f95 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -107,16 +107,7 @@ SwContentOptPage::SwContentOptPage(weld::Container* pPage, weld::DialogControlle , m_xFieldHiddenCB(m_xBuilder->weld_check_button("hiddentextfield")) , m_xFieldHiddenParaCB(m_xBuilder->weld_check_button("hiddenparafield")) { - if (!officecfg::Office::Common::Misc::ExperimentalMode::get()) - { - m_xOutlineLabel->hide(); - m_xShowOutlineContentVisibilityButton->hide(); - m_xTreatSubOutlineLevelsAsContent->hide(); - } - else - { - m_xShowOutlineContentVisibilityButton->connect_toggled(LINK(this, SwContentOptPage, ShowOutlineContentVisibilityButtonHdl)); - } + m_xShowOutlineContentVisibilityButton->connect_toggled(LINK(this, SwContentOptPage, ShowOutlineContentVisibilityButtonHdl)); /* This part is visible only with Writer/Web->View dialogue. */ const SfxUInt16Item* pItem = rCoreSet.GetItemIfSet(SID_HTML_MODE, false );