diff options
author | Noel Power <noel.power@novell.com> | 2011-05-31 10:11:22 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-05-31 10:14:53 +0100 |
commit | 6fccef85a61d6238744f3cef302f63b5a1b3d11e (patch) | |
tree | 7b6f02928802ab1886ddd1f0ff00d85fdc99b66d | |
parent | 3bc0b8e14b2af29227fb801ef014527c99b605d5 (diff) |
fix for bug fdo#37590
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 6247264730..7f5688e869 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, |