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 bc8b46a94c43..8395e81057b9 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2819,7 +2819,8 @@ static void doc_iniUnoCommands ()
OUString(".uno:FreezePanes"),
OUString(".uno:FreezePanesColumn"),
OUString(".uno:FreezePanesRow"),
- OUString(".uno:Sidebar")
+ OUString(".uno:Sidebar"),
+ OUString(".uno:SheetRightToLeft")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index d51e5f3b443f..68d97a8edf5b 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1019,7 +1019,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "TraceChangeMode" ||
aEvent.FeatureURL.Path == "FormatPaintbrush" ||
aEvent.FeatureURL.Path == "FreezePanes" ||
- aEvent.FeatureURL.Path == "Sidebar")
+ aEvent.FeatureURL.Path == "Sidebar" ||
+ aEvent.FeatureURL.Path == "SheetRightToLeft")
{
bool bTemp = false;
aEvent.State >>= bTemp;