summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/lib/init.cxx3
-rw-r--r--sfx2/source/control/unoctitm.cxx3
2 files changed, 4 insertions, 2 deletions
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"));