desktop/source/lib/init.cxx | 3 ++- sfx2/source/control/unoctitm.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 9648f81f98d07cd4aef8611a50a77f11fb7ba86e Author: Hubert Figuière <h...@collabora.com> AuthorDate: Thu Apr 25 14:01:11 2024 -0400 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Apr 29 09:31:06 2024 +0200 cool#8066: calc: enable .uno:ToggleSheetGrid Signed-off-by: Hubert Figuière <h...@collabora.com> Change-Id: Ibe5bca4d0622c4015030a21d4ecccd41d5e9f483 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166529 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index f13bc1f48e26..f06151be6cfa 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -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; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 0691a6bad444..c6250e27d170 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -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;