summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authormerttumer <mert.tumer@collabora.com>2021-05-26 10:34:22 +0300
committerMert Tumer <mert.tumer@collabora.com>2021-05-31 07:50:03 +0200
commita7e6d1af84a3df887562b1e5e0a1f9aef79bc05e (patch)
treef7313f21f3699bcc1aaa6e624de837e4b5cb3d09 /sw
parentd17f982436006d1dc59d7679f2959ee931904372 (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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116312
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/basesh.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 359dea043183..57e9394fc03c 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1705,8 +1705,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);
}