summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-07-10 22:24:02 +0530
committerPranam Lashkari <lpranam@collabora.com>2020-08-31 19:22:16 +0200
commit2e601204c5d844ce5cd9d2e61fbbcff6ad59ee58 (patch)
treed2ec5f954fefb419d2bc2b147f88c0fb3819238c
parentLOK: do not show calc notes in the online (diff)
downloadcore-2e601204c5d844ce5cd9d2e61fbbcff6ad59ee58.tar.gz
core-2e601204c5d844ce5cd9d2e61fbbcff6ad59ee58.zip
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/+/101677 Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
-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 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" ||