diff options
author | Pranam Lashkari <lpranam@collabora.com> | 2022-06-06 19:30:35 +0530 |
---|---|---|
committer | Pranam Lashkari <lpranam@collabora.com> | 2022-06-13 11:04:30 +0200 |
commit | 9518a72e71a70cee07c2ab3491a147edf9e63f68 (patch) | |
tree | 2347ac1eb800d55e86856c3addf1434adb6d068c /sfx2/source/control/unoctitm.cxx | |
parent | 91b98efc2a5cf41d9442f90d7cb37075721519e0 (diff) |
LOK: send state of Protect, UnsetCellsReadOnly
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I92675ed0033088233fb442138b39a3c8d663c614
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135454
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Gökay ŞATIR <gokaysatir@collabora.com>
(cherry picked from commit b8626e85a799fd0807749cab9e712652240f13cd)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135389
Tested-by: Jenkins
Diffstat (limited to 'sfx2/source/control/unoctitm.cxx')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 57ef3404b8be..4ee282227107 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1113,7 +1113,9 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra aEvent.FeatureURL.Path == "UngroupSparklines" || aEvent.FeatureURL.Path == "FormatSparklineMenu" || aEvent.FeatureURL.Path == "NumberFormatDecDecimals" || - aEvent.FeatureURL.Path == "NumberFormatIncDecimals") + aEvent.FeatureURL.Path == "NumberFormatIncDecimals" || + aEvent.FeatureURL.Path == "Protect" || + aEvent.FeatureURL.Path == "UnsetCellsReadOnly") { aBuffer.append(aEvent.IsEnabled ? std::u16string_view(u"enabled") : std::u16string_view(u"disabled")); } |