[Libreoffice-commits] core.git: desktop/source sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Feb 7 09:57: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 467324f1071c65f6189e7ea567088918b51d2228
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Wed Feb 6 17:38:35 2019 -0400
Commit: Jan Holesovsky <kendy at collabora.com>
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 <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
(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"));
More information about the Libreoffice-commits
mailing list