diff options
author | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-01-06 09:58:25 +0000 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-01-12 09:04:48 +0000 |
commit | bb0ed581a5624a8827ede86658872daca1754675 (patch) | |
tree | e6d1d6354f5367c0b38d61ec58a9988a588f4513 /sc | |
parent | dd282dde51e76bdb5e0b9b33da3c8483bfb0315a (diff) |
Revert "Resolves tdf#143100 - Disable cell style commands when sheet is protected"
This reverts commit a3cb71ac80c0c2971e97c033d212cf4e464fa8f0.
Reason for revert: tdf#149857
Change-Id: I5ea780b986073a8db16d5dc2ea503aa30da7ef27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145118
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
(cherry picked from commit 3babbc31bf4bba35924c25c5fbd59e1c314d3627)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145130
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit 9d6ae0b8d2ebb3931b3c46147e14939e7ed3f3ed)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145229
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 5513c9d76b75..913915a20dc8 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -189,9 +189,6 @@ void ScFormatShell::GetStyleState( SfxItemSet& rSet ) rSet.Put( SfxTemplateItem( nSlotId, pStyleSheet->GetName() ) ); else rSet.Put( SfxTemplateItem( nSlotId, OUString() ) ); - - if ( bProtected ) - rSet.DisableItem( nSlotId ); } break; |