summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-07-10 22:24:02 +0530
committerPranam Lashkari <lpranam@collabora.com>2020-07-20 09:14:05 +0200
commit697e8b69263c8dd9c518fbbb093f9a3776608257 (patch)
tree6387e7944ed8e45f7b90140456247704b79b2a99 /sfx2
parent982a9a2059225fb2890e5582969e43858b4a0ee9 (diff)
LOK: send state of FormatPaintbrush
Change-Id: I61057adff79e072aa4dc12e9c8943abd7166a260 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98540 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 91ee7efe49581b774d4be116888b490eb132ac5d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98964 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx4
1 files changed, 2 insertions, 2 deletions
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" ||