summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-05-31 10:11:22 +0100
committerNoel Power <noel.power@novell.com>2011-05-31 10:14:53 +0100
commit738fa3d5ed19a8d0ec60799e26ee4936426992e3 (patch)
treeb3bbce6f7c1ffa27c5ab24ac0a7424a126621598 /xmloff
parent8a1a76aac6bb150f89ac1b4c86f6ed11128d8462 (diff)
fix for bug fdo#37590
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
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 4c433c2bae50..86a1e47df202 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -889,7 +889,7 @@ namespace xmloff
if (!bRetrievedValues)
{
getValuePropertyNames(m_eElementType, nClassId, pCurrentValueProperty, pValueProperty);
- ENSURE_OR_BREAK( pCurrentValueProperty && pValueProperty, "OControlImport::StartElement: illegal value property names!" );
+ ENSURE_OR_BREAK( pCurrentValueProperty || pValueProperty, "OControlImport::StartElement: illegal value property names!" );
bRetrievedValues = sal_True;
}
OSL_ENSURE((PROPID_VALUE != aValueProps->Handle) || pValueProperty,