diff options
Diffstat (limited to 'sc/source/filter/xml/xmlstyle.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlstyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlstyle.cxx b/sc/source/filter/xml/xmlstyle.cxx index 4026e098136f..a8ca7bbdce59 100644 --- a/sc/source/filter/xml/xmlstyle.cxx +++ b/sc/source/filter/xml/xmlstyle.cxx @@ -1042,12 +1042,12 @@ bool XmlScPropHdl_CellProtection::exportXML( rStrExpValue = GetXMLToken(XML_HIDDEN_AND_PROTECTED); bRetval = true; } - else if (aCellProtection.IsLocked && !(aCellProtection.IsFormulaHidden || aCellProtection.IsHidden)) + else if (aCellProtection.IsLocked && !aCellProtection.IsFormulaHidden) { rStrExpValue = GetXMLToken(XML_PROTECTED); bRetval = true; } - else if (aCellProtection.IsFormulaHidden && !(aCellProtection.IsLocked || aCellProtection.IsHidden)) + else if (aCellProtection.IsFormulaHidden && !aCellProtection.IsLocked) { rStrExpValue = GetXMLToken(XML_FORMULA_HIDDEN); bRetval = true; |