[Libreoffice-commits] core.git: desktop/source sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Mar 21 11:48:54 UTC 2019
desktop/source/lib/init.cxx | 3 ++-
sfx2/source/control/unoctitm.cxx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit ddf1e93c740901503c92e289c70cb4d54c38dd6e
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Thu Mar 14 09:16:59 2019 -0400
Commit: Aron Budea <aron.budea at collabora.com>
CommitDate: Thu Mar 21 12:48:26 2019 +0100
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 at collabora.com>
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"));
More information about the Libreoffice-commits
mailing list