summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2020-01-24 18:40:24 +0100
committerMichael Stahl <michael.stahl@cib.de>2020-02-03 13:13:21 +0100
commitcb5d18871b46ef4f7bc47eb4d71df5374d712575 (patch)
tree8ea494866e1761716dcdeed6eab981ebf535ecff /sw/inc
parent56a89f475570d6937e8e2b9d00a72a19c2dd7665 (diff)
sw: Optionally disable bookmark manipulation GUIs
If the ProtectBookmarks bit is set, don't allow bookmark changes, neither via the bookmark dialog nor the navigator. Change-Id: I035faaf3871c7107dd1aac38c4e6867291827346 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87361 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/strings.hrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 755bcc58e47c..a1297ed14d6e 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -684,6 +684,7 @@
#define STR_POSTIT_HIDE NC_("STR_POSTIT_HIDE", "Hide All")
#define STR_POSTIT_DELETE NC_("STR_POSTIT_DELETE", "Delete All")
#define STR_RESOLVED NC_("STR_RESOLVED", "RESOLVED")
+#define STR_PROTECTED NC_("STR_PROTECTED", "Protected")
#define STR_MARGIN_TOOLTIP_LEFT NC_("STR_MARGIN_TOOLTIP_LEFT", "Left: ")
#define STR_MARGIN_TOOLTIP_RIGHT NC_("STR_MARGIN_TOOLTIP_RIGHT", ". Right: ")