summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-11-30 14:45:27 +0200
committerMihai Varga <mihai.mv13@gmail.com>2015-11-30 14:47:17 +0200
commitb8627ad4db379bfa5b9411aaccb1663d7c66c933 (patch)
treec4f2dc8d3f38afccbccdc05f07033243797e17f4 /sfx2
parent2d49006f7cb04d7b3b71481f1f3aecf0f6d70dff (diff)
LOK: get state change feedback for more uno commands
I've also ordered them alphabetically so we can read them easier. Change-Id: Ia332f1662a91de4a4068f0056a3d969fe978a744
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index cb3050a93faf..efb70268b4d1 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1064,15 +1064,19 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
aBuffer.append("=");
if (aEvent.FeatureURL.Path == "Bold" ||
- aEvent.FeatureURL.Path == "Italic" ||
- aEvent.FeatureURL.Path == "Underline" ||
- aEvent.FeatureURL.Path == "Strikeout" ||
+ aEvent.FeatureURL.Path == "CenterPara" ||
aEvent.FeatureURL.Path == "DefaultBullet" ||
aEvent.FeatureURL.Path == "DefaultNumbering" ||
+ aEvent.FeatureURL.Path == "Italic" ||
+ aEvent.FeatureURL.Path == "JustifyPara" ||
aEvent.FeatureURL.Path == "LeftPara" ||
- aEvent.FeatureURL.Path == "CenterPara" ||
+ aEvent.FeatureURL.Path == "OutlineFont" ||
aEvent.FeatureURL.Path == "RightPara" ||
- aEvent.FeatureURL.Path == "JustifyPara")
+ aEvent.FeatureURL.Path == "Shadowed" ||
+ aEvent.FeatureURL.Path == "SubScript" ||
+ aEvent.FeatureURL.Path == "SuperScript" ||
+ aEvent.FeatureURL.Path == "Strikeout" ||
+ aEvent.FeatureURL.Path == "Underline")
{
bool bTemp = false;
aEvent.State >>= bTemp;