cool#8066: calc: enable .uno:ToggleSheetGrid
Signed-off-by: Hubert Figuière <hub@collabora.com> Change-Id: Ibe5bca4d0622c4015030a21d4ecccd41d5e9f483 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166529 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
committed by
Caolán McNamara
parent
e5c988821d
commit
9648f81f98
@@ -3847,7 +3847,8 @@ static void doc_iniUnoCommands ()
|
||||
u".uno:InsertPictureContentControl"_ustr,
|
||||
u".uno:DataFilterAutoFilter"_ustr,
|
||||
u".uno:CellProtection"_ustr,
|
||||
u".uno:MoveKeepInsertMode"_ustr
|
||||
u".uno:MoveKeepInsertMode"_ustr,
|
||||
u".uno:ToggleSheetGrid"_ustr,
|
||||
};
|
||||
|
||||
util::URL aCommandURL;
|
||||
|
||||
@@ -940,7 +940,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
|
||||
aEvent.FeatureURL.Path == "SpacePara15" ||
|
||||
aEvent.FeatureURL.Path == "SpacePara2" ||
|
||||
aEvent.FeatureURL.Path == "DataFilterAutoFilter" ||
|
||||
aEvent.FeatureURL.Path == "CellProtection")
|
||||
aEvent.FeatureURL.Path == "CellProtection" ||
|
||||
aEvent.FeatureURL.Path == "ToggleSheetGrid")
|
||||
{
|
||||
bool bTemp = false;
|
||||
aEvent.State >>= bTemp;
|
||||
|
||||
Reference in New Issue
Block a user