summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2019-11-22 16:15:47 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2019-11-26 14:38:48 +0100
commitc327be2613005a1bb5a5302ce56d4e2ec9da85b5 (patch)
treefc7be13a313e1480c749fe4b3566efa957aa8f55 /sw
parent380b322b986720f155edac62b70b0d7aa40c16b7 (diff)
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 <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/bookmark.cxx10
1 files changed, 10 insertions, 0 deletions
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 <globals.hrc>
#include <ndtxt.hxx>
#include <strings.hrc>
+#include <svtools/miscopt.hxx>
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)