summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/elementimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 41f0971dd88e..fec7bd238e51 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -944,7 +944,7 @@ namespace xmloff
// we have exactly 2 properties where this type class is allowed:
OSL_ENSURE(
_rPropValue.Name != PROPERTY_EFFECTIVE_VALUE
- || _rPropValue.Name != PROPERTY_EFFECTIVE_DEFAULT,
+ && _rPropValue.Name != PROPERTY_EFFECTIVE_DEFAULT,
"OControlImport::implTranslateValueProperty: invalid property type/name combination!");
// Both properties are allowed to have a double or a string value,