From c327be2613005a1bb5a5302ce56d4e2ec9da85b5 Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Fri, 22 Nov 2019 16:15:47 +0100 Subject: tdf#128252 - Make "Hide" and "With condition" experimental Unlcear functions made experimental until documentation is available Change-Id: I9e08752802409b05647d23f9ddd6514f109d1592 Reviewed-on: https://gerrit.libreoffice.org/83509 Tested-by: Jenkins Reviewed-by: Heiko Tietze --- sw/source/ui/misc/bookmark.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sw') diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index 2fd11375504b..3c99ab0c6848 100644 --- a/sw/source/ui/misc/bookmark.cxx +++ b/sw/source/ui/misc/bookmark.cxx @@ -35,6 +35,7 @@ #include #include #include +#include using namespace ::com::sun::star; @@ -334,6 +335,15 @@ SwInsertBookmarkDlg::SwInsertBookmarkDlg(weld::Window* pParent, SwWrtShell& rS, m_xForbiddenChars->set_label(SwResId(STR_BOOKMARK_FORBIDDENCHARS) + " " + BookmarkTable::aForbiddenChars); m_xForbiddenChars->set_visible(false); + + SvtMiscOptions aMiscOpt; + if ( !aMiscOpt.IsExperimentalMode() ) + { + m_xHideCB->set_visible( false ); + m_xConditionFT->set_visible( false ); + m_xConditionED->set_visible( false ); + } + } IMPL_LINK(SwInsertBookmarkDlg, HeaderBarClick, int, nColumn, void) -- cgit