[Libreoffice-commits] core.git: sfx2/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 20 07:14:42 UTC 2020


 sfx2/source/control/unoctitm.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 697e8b69263c8dd9c518fbbb093f9a3776608257
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Fri Jul 10 22:24:02 2020 +0530
Commit:     Pranam Lashkari <lpranam at collabora.com>
CommitDate: Mon Jul 20 09:14:05 2020 +0200

    LOK: send state of FormatPaintbrush
    
    Change-Id: I61057adff79e072aa4dc12e9c8943abd7166a260
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98540
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit 91ee7efe49581b774d4be116888b490eb132ac5d)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98964
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <lpranam at collabora.com>

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 760376d7b767..436a23c6a422 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1011,7 +1011,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
         aEvent.FeatureURL.Path == "DocumentRepair" ||
         aEvent.FeatureURL.Path == "ObjectAlignLeft" ||
         aEvent.FeatureURL.Path == "ObjectAlignRight" ||
-        aEvent.FeatureURL.Path == "AlignCenter")
+        aEvent.FeatureURL.Path == "AlignCenter" ||
+        aEvent.FeatureURL.Path == "FormatPaintbrush")
     {
         bool bTemp = false;
         aEvent.State >>= bTemp;
@@ -1113,7 +1114,6 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
              aEvent.FeatureURL.Path == "SplitTable" ||
              aEvent.FeatureURL.Path == "DeleteNote" ||
              aEvent.FeatureURL.Path == "AcceptChanges" ||
-             aEvent.FeatureURL.Path == "FormatPaintbrush" ||
              aEvent.FeatureURL.Path == "SetDefault" ||
              aEvent.FeatureURL.Path == "ParaLeftToRight" ||
              aEvent.FeatureURL.Path == "ParaRightToLeft" ||


More information about the Libreoffice-commits mailing list