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 <[email protected]> AuthorDate: Thu Mar 14 09:16:59 2019 -0400 Commit: Aron Budea <[email protected]> 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 <[email protected]> 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")); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
