diff options
author | Henry Castro <hcastro@collabora.com> | 2019-03-14 09:16:59 -0400 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2019-03-21 12:48:26 +0100 |
commit | ddf1e93c740901503c92e289c70cb4d54c38dd6e (patch) | |
tree | d7b7357f30c1ffcd22f00d960a599d62190971d3 | |
parent | 14a11ab5dfa2ea34049866517ee78170922aee4e (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>
-rw-r--r-- | desktop/source/lib/init.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index bc5c9b74beba..84d9b4b59976 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2087,7 +2087,8 @@ static void doc_iniUnoCommands () OUString(".uno:InsertPageFooter"), OUString(".uno:OnlineAutoFormat"), OUString(".uno:InsertSymbol"), - OUString(".uno:EditRegion") + OUString(".uno:EditRegion"), + OUString(".uno:ThesaurusDialog") }; util::URL aCommandURL; 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")); |