summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-03-14 09:16:59 -0400
committerAron Budea <aron.budea@collabora.com>2019-03-21 12:48:26 +0100
commitddf1e93c740901503c92e289c70cb4d54c38dd6e (patch)
treed7b7357f30c1ffcd22f00d960a599d62190971d3 /sfx2
parent14a11ab5dfa2ea34049866517ee78170922aee4e (diff)
lok: intercept the UNO command ".uno:ThesaurusDialog"
Change-Id: I085cb646037f260ada4d4d04c2419638dd235048 Reviewed-on: https://gerrit.libreoffice.org/69264 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index d25601a362ca..4a18c9fc587e 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1079,7 +1079,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "OutlineBullet" ||
aEvent.FeatureURL.Path == "InsertIndexesEntry" ||
aEvent.FeatureURL.Path == "TransformDialog" ||
- aEvent.FeatureURL.Path == "EditRegion")
+ aEvent.FeatureURL.Path == "EditRegion" ||
+ aEvent.FeatureURL.Path == "ThesaurusDialog")
{
aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled"));