fix for bug fdo#37590

Signed-off-by: 	Michael Meeks <michael.meeks@novell.com>
This commit is contained in:
Noel Power 2011-05-31 10:11:22 +01:00
parent 8a1a76aac6
commit 738fa3d5ed

View file

@ -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,