xmloff/source/style/xmlstyle.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit c01cac0654d7f11012e3755e942cbf391e82aaff
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Tue Oct 22 20:48:03 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Fri Oct 25 03:05:20 2024 +0200

    tdf#163486: PVS: Identical branches
    
    V1037 Two or more case-branches perform the same actions. Check lines: 103, 
106
    
    Change-Id: I761622d8c980c7f53ae4d9c77a83c918a2efb22c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175429
    Tested-by: Jenkins
    Reviewed-by: David Gilbert <freedesk...@treblig.org>

diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index ce5918f0ec94..c0653f026e27 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -100,8 +100,6 @@ void SvXMLStyleContext::SetAttribute( sal_Int32 nElement,
             maLinked = rValue;
             break;
         case XML_ELEMENT(STYLE, XML_HIDDEN):
-            mbHidden = rValue.toBoolean();
-            break;
         case XML_ELEMENT(LO_EXT, XML_HIDDEN):
             mbHidden = rValue.toBoolean();
             break;

Reply via email to