[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sw/source

merttumer (via logerrit) logerrit at kemper.freedesktop.org
Wed May 26 17:18:05 UTC 2021


 sw/source/uibase/shells/basesh.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit b11cf78fe322075d7d20945a52d000d86fd79d56
Author:     merttumer <mert.tumer at collabora.com>
AuthorDate: Wed May 26 10:34:22 2021 +0300
Commit:     Mert Tumer <mert.tumer at collabora.com>
CommitDate: Wed May 26 19:17:27 2021 +0200

    lok: Re-Enable AnchorToPara context menu item
    
    Change-Id: I0f1f4121c06b8f628f4fe49284737cea3d28e4b8
    Signed-off-by: merttumer <mert.tumer at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116141
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>

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);
                         }


More information about the Libreoffice-commits mailing list