| commit | 3babbc31bf4bba35924c25c5fbd59e1c314d3627 | [log] |
|---|---|---|
| author | Heiko Tietze <heiko.tietze@documentfoundation.org> | Fri Jan 06 09:58:25 2023 +0000 |
| committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | Sun Jan 08 09:19:17 2023 +0000 |
| tree | f70588f729629f74756ce7a100552648497565fa | |
| parent | e37f06f534ac864f9fe8cd20b07a85c36e697d41 [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>
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 15a705c..3c823fa 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;