summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-09 09:41:08 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-13 08:10:15 +0100
commit1a7444ed69a68696b05feb3f3618b6704a140ba6 (patch)
treef598a4a6ada225691de143689ba3ff3425961c40 /sw/sdi
parentb0259d3e857bef53b27c3f61ecc448c3f96aad07 (diff)
tdf#114552 Convert anchor toggle to anchor menu
Since we now have three, not two anchor types. Change-Id: I9654de574a9d546d2191093cba9c192fac3cd3d7 Reviewed-on: https://gerrit.libreoffice.org/50987 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_basesh.sdi2
-rw-r--r--sw/sdi/swriter.sdi17
2 files changed, 1 insertions, 18 deletions
diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi
index 23f4d0e5dfdf..bb66c461644b 100644
--- a/sw/sdi/_basesh.sdi
+++ b/sw/sdi/_basesh.sdi
@@ -416,7 +416,7 @@ interface BaseTextSelection
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
]
// Method for frames and objects
- FN_TOOL_ANCHOR
+ SID_ANCHOR_MENU
[
StateMethod = GetState ;
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index 00fa29d6abfc..85047fbf39fc 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -5962,23 +5962,6 @@ SfxVoidItem TextWrap FN_DRAW_WRAP_DLG
GroupId = SfxGroupId::Format;
]
-SfxVoidItem AnchorMenu FN_TOOL_ANCHOR
-()
-[
- AutoUpdate = FALSE,
- FastCall = TRUE,
- ReadOnlyDoc = FALSE,
- Toggle = FALSE,
- Container = FALSE,
- RecordAbsolute = FALSE,
- RecordPerSet;
-
- AccelConfig = TRUE,
- MenuConfig = TRUE,
- ToolBoxConfig = TRUE,
- GroupId = SfxGroupId::Format;
-]
-
SfxVoidItem ToggleObjectLayer FN_TOOL_HIERARCHIE
()
[