diff options
author | Henry Castro <hcastro@collabora.com> | 2019-03-14 09:16:59 -0400 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-03-15 09:20:29 +0100 |
commit | 7a758da47cdcf4017f41e1e16dc1f643148d2f9b (patch) | |
tree | f19e7996dfd7171da641dfcd5bf10d2dc68e1a05 | |
parent | 5f6463d0ddc138672428a770e959a448246e265f (diff) |
lok: intercept the UNO command ".uno:ThesaurusDialog"
Change-Id: I085cb646037f260ada4d4d04c2419638dd235048
Reviewed-on: https://gerrit.libreoffice.org/69265
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@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 d2eee1b79866..54948cf3511d 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2091,7 +2091,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 c128bc5da518..357fd4be74a2 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1096,7 +1096,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")); |