summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" ||