desktop/source/lib/init.cxx | 3 ++- sfx2/source/control/unoctitm.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 467324f1071c65f6189e7ea567088918b51d2228 Author: Henry Castro <[email protected]> AuthorDate: Wed Feb 6 17:38:35 2019 -0400 Commit: Jan Holesovsky <[email protected]> CommitDate: Thu Feb 7 10:57:31 2019 +0100 lok: intercept the UNO command ".uno:EditRegion" Change-Id: I3a1072e6ededbd0322c4b1dcd0ef4b16ace219d1 Reviewed-on: https://gerrit.libreoffice.org/67478 Reviewed-by: Jan Holesovsky <[email protected]> Tested-by: Jan Holesovsky <[email protected]> (cherry picked from commit 32555d9b5c9ef37276984eaa9d9b84007fd02038) Reviewed-on: https://gerrit.libreoffice.org/67482 Tested-by: Jenkins diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a2845e0cc3e8..6135ebdea78a 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1992,7 +1992,8 @@ static void doc_iniUnoCommands () OUString(".uno:InsertPageHeader"), OUString(".uno:InsertPageFooter"), OUString(".uno:OnlineAutoFormat"), - OUString(".uno:InsertSymbol") + OUString(".uno:InsertSymbol"), + OUString(".uno:EditRegion") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index e6a590a4053f..c2a66b443bd7 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1078,7 +1078,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "ParagraphDialog" || aEvent.FeatureURL.Path == "OutlineBullet" || aEvent.FeatureURL.Path == "InsertIndexesEntry" || - aEvent.FeatureURL.Path == "TransformDialog") + aEvent.FeatureURL.Path == "TransformDialog" || + aEvent.FeatureURL.Path == "EditRegion") { aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
