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

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 31 17:22:51 UTC 2020


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

New commits:
commit 2e601204c5d844ce5cd9d2e61fbbcff6ad59ee58
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 Aug 31 19:22:16 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/+/101677
    Reviewed-by: Pranam Lashkari <lpranam at collabora.com>

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 405208e03766..23e02481c120 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1009,7 +1009,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;
@@ -1111,7 +1112,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