diff --git a/xmloff/source/draw/XMLShapeStyleContext.cxx b/xmloff/source/draw/XMLShapeStyleContext.cxx index 4867ab575c3e..06a11050976e 100644 --- a/xmloff/source/draw/XMLShapeStyleContext.cxx +++ b/xmloff/source/draw/XMLShapeStyleContext.cxx @@ -200,9 +200,8 @@ void XMLShapeStyleContext::FillPropertySet( const Reference< beans::XPropertySet SvXMLImportPropertyMapper* pImpPrMap = GetStyles()->GetImportPropertyMapper( GetFamily() ); - SAL_WARN_IF( !pImpPrMap, "xmloff", "There is the import prop mapper" ); - if( pImpPrMap ) - pImpPrMap->FillPropertySet( GetProperties(), rPropSet, aContextIDs ); + assert( pImpPrMap ); + pImpPrMap->FillPropertySet( GetProperties(), rPropSet, aContextIDs ); Reference< XPropertySetInfo > xInfo; // get property set mapper