[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sw/source
Heiko Tietze (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 26 16:53:08 UTC 2019
sw/source/ui/misc/bookmark.cxx | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit cd87801ee235c5f30d070f2eeea6d432e21259bf
Author: Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Fri Nov 22 16:15:47 2019 +0100
Commit: Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Tue Nov 26 17:51:54 2019 +0100
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 at documentfoundation.org>
(cherry picked from commit c327be2613005a1bb5a5302ce56d4e2ec9da85b5)
Reviewed-on: https://gerrit.libreoffice.org/83766
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)
More information about the Libreoffice-commits
mailing list