lokit: Properly handle state update for .uno:ToggleSheetGrid
This is a follow up on cool#8066
Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: I7d6ce4c9dfe7c2e9a2dda110e587c8c825c4df2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167370
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 9bbe40cc2d
)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167317
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
e1b8d1595d
commit
fd0a249ad1
1 changed files with 3 additions and 3 deletions
|
@ -940,8 +940,7 @@ 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 == "ToggleSheetGrid")
|
||||
aEvent.FeatureURL.Path == "CellProtection")
|
||||
{
|
||||
bool bTemp = false;
|
||||
aEvent.State >>= bTemp;
|
||||
|
@ -1222,7 +1221,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
|
|||
}
|
||||
}
|
||||
else if (aEvent.FeatureURL.Path == "ToggleMergeCells" ||
|
||||
aEvent.FeatureURL.Path == "SheetRightToLeft")
|
||||
aEvent.FeatureURL.Path == "SheetRightToLeft" ||
|
||||
aEvent.FeatureURL.Path == "ToggleSheetGrid")
|
||||
{
|
||||
bool aBool;
|
||||
|
||||
|
|
Loading…
Reference in a new issue