LOK: send state of SheetRightToLeft

Change-Id: I4b58ab74003065a63e4274293b868c909f4f583f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105428
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Pranam Lashkari 2020-11-07 12:29:33 +05:30 committed by Andras Timar
parent 86fde5f984
commit cc7bf1755c
2 changed files with 4 additions and 2 deletions

View file

@ -2846,7 +2846,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;

View file

@ -1018,7 +1018,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;