diff options
author | Bogdan Buzea <buzea.bogdan@libreoffice.org> | 2024-10-22 20:48:03 +0200 |
---|---|---|
committer | David Gilbert <freedesktop@treblig.org> | 2024-10-25 03:05:20 +0200 |
commit | c01cac0654d7f11012e3755e942cbf391e82aaff (patch) | |
tree | 5e0ff3b90b7550187db34f27ae93cfec29c61477 /xmloff | |
parent | cf9b7e36fe7f5f9a817d9fee420f9c5439f69d63 (diff) |
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 <freedesktop@treblig.org>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlstyle.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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; |