[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - desktop/source sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Mar 15 08:20:55 UTC 2019
desktop/source/lib/init.cxx | 3 ++-
sfx2/source/control/unoctitm.cxx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 7a758da47cdcf4017f41e1e16dc1f643148d2f9b
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Thu Mar 14 09:16:59 2019 -0400
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Fri Mar 15 09:20:29 2019 +0100
lok: intercept the UNO command ".uno:ThesaurusDialog"
Change-Id: I085cb646037f260ada4d4d04c2419638dd235048
Reviewed-on: https://gerrit.libreoffice.org/69265
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
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"));
More information about the Libreoffice-commits
mailing list