diff options
author | merttumer <mert.tumer@collabora.com> | 2021-05-26 10:34:22 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-05-27 11:09:31 +0200 |
commit | bd2c4ec80d9fc20f918426afe9a26a5d53f4df69 (patch) | |
tree | 81f9eecee538e1411a51280a18e5310710cf370b | |
parent | 2ff3ae864d1f2bd19aba3ce9e1b9e3f22bf2421f (diff) |
lok: Re-Enable AnchorToPara context menu item
Change-Id: I0f1f4121c06b8f628f4fe49284737cea3d28e4b8
Signed-off-by: merttumer <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116141
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 37ec78c3762e..00607bc3eb8c 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -1720,8 +1720,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet ) if (comphelper::LibreOfficeKit::isActive()) { - if (nWhich == FN_TOOL_ANCHOR_PAGE || nWhich == FN_TOOL_ANCHOR_PARAGRAPH - || nWhich == FN_TOOL_ANCHOR_FRAME) + if (nWhich == FN_TOOL_ANCHOR_PAGE || nWhich == FN_TOOL_ANCHOR_FRAME) { rSet.DisableItem(nWhich); } |