| commit | b83f069101f1e6d8aaac09a805f02bbc4c619e7a | [log] |
|---|---|---|
| author | Pranam Lashkari <lpranam@collabora.com> | Wed Jul 26 16:39:49 2023 +0700 |
| committer | Pranam Lashkari <lpranam@collabora.com> | Wed Oct 18 23:57:18 2023 +0200 |
| tree | 28480875bafe324885181f4be2c1aca8dc891c31 | |
| parent | e7e5b43c4906d9f0e199f689addc29aa98916e6e [diff] |
LOK: send state of protected cells Change-Id: I432a3af50b6089faa80a28804d95d816af6cd278 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154936 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Pranam Lashkari <lpranam@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 6d9697d..416265d 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 89e94ca..1f3f37f 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;