summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-13 21:02:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-13 22:38:36 +0100
commit979651c21a26a7995c88071d0a26162aa711b31f (patch)
tree60512bcac12150c0159ac5514e5985115e3eff2f /xmloff
parentf353e7baaace4e0bce3dbd1d440dc5be9ac35298 (diff)
coverity#1326118 Constant expression result
Change-Id: I3a5786650e0724f6b6015153df7275851471626c
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,