summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtvfldi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtvfldi.cxx')
-rw-r--r--xmloff/source/text/txtvfldi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 52d61d70276d..9d8b45632c6e 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -205,7 +205,7 @@ void XMLVarFieldImportContext::PrepareField(
if (bSetVisible && bDisplayOK)
{
- bool bTmp = ! (bDisplayNone && bDisplayOK);
+ bool bTmp = !bDisplayNone;
xPropertySet->setPropertyValue(sAPI_is_visible, Any(bTmp));
}