desktop/source/lib/init.cxx | 3 ++- sfx2/source/control/unoctitm.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit b83f069101f1e6d8aaac09a805f02bbc4c619e7a Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Wed Jul 26 16:39:49 2023 +0700 Commit: Pranam Lashkari <lpra...@collabora.com> CommitDate: Wed Oct 18 23:57:18 2023 +0200 LOK: send state of protected cells Change-Id: I432a3af50b6089faa80a28804d95d816af6cd278 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154936 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Reviewed-by: Pranam Lashkari <lpra...@collabora.com> (cherry picked from commit 5f13751cefd725cb2a38e66c9484046e6141c6c2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158150 Tested-by: Jenkins diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 6d9697d60aed..416265df4099 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3842,7 +3842,8 @@ static void doc_iniUnoCommands () OUString(".uno:InsertDropdownContentControl"), OUString(".uno:InsertPlainTextContentControl"), OUString(".uno:InsertPictureContentControl"), - OUString(".uno:DataFilterAutoFilter") + OUString(".uno:DataFilterAutoFilter"), + OUString(".uno:CellProtection") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 89e94caff794..1f3f37f5fc1b 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -935,7 +935,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra aEvent.FeatureURL.Path == "SpacePara1" || aEvent.FeatureURL.Path == "SpacePara15" || aEvent.FeatureURL.Path == "SpacePara2" || - aEvent.FeatureURL.Path == "DataFilterAutoFilter") + aEvent.FeatureURL.Path == "DataFilterAutoFilter" || + aEvent.FeatureURL.Path == "CellProtection") { bool bTemp = false; aEvent.State >>= bTemp;