diff options
Diffstat (limited to 'xmloff/source/style/XMLPageExport.cxx')
-rw-r--r-- | xmloff/source/style/XMLPageExport.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx index 0eee93743e7b..1328735cc296 100644 --- a/xmloff/source/style/XMLPageExport.cxx +++ b/xmloff/source/style/XMLPageExport.cxx @@ -60,7 +60,7 @@ void XMLPageExport::collectPageMasterAutoStyle( const Reference < XPropertySet > & rPropSet, OUString& rPageMasterName ) { - DBG_ASSERT( xPageMasterPropSetMapper.is(), "page master family/XMLPageMasterPropSetMapper not found" ); + SAL_WARN_IF( !xPageMasterPropSetMapper.is(), "xmloff", "page master family/XMLPageMasterPropSetMapper not found" ); if( xPageMasterPropSetMapper.is() ) { ::std::vector<XMLPropertyState> aPropStates = xPageMasterExportPropMapper->Filter( rPropSet ); @@ -168,12 +168,12 @@ XMLPageExport::XMLPageExport( SvXMLExport& rExp ) : Reference< XStyleFamiliesSupplier > xFamiliesSupp( GetExport().GetModel(), UNO_QUERY ); - DBG_ASSERT( xFamiliesSupp.is(), + SAL_WARN_IF( !xFamiliesSupp.is(), "xmloff", "No XStyleFamiliesSupplier from XModel for export!" ); if( xFamiliesSupp.is() ) { Reference< XNameAccess > xFamilies( xFamiliesSupp->getStyleFamilies() ); - DBG_ASSERT( xFamiliesSupp.is(), + SAL_WARN_IF( !xFamiliesSupp.is(), "xmloff", "getStyleFamilies() from XModel failed for export!" ); if( xFamilies.is() ) { @@ -183,7 +183,7 @@ XMLPageExport::XMLPageExport( SvXMLExport& rExp ) : { xPageStyles.set(xFamilies->getByName( aPageStyleName ),uno::UNO_QUERY); - DBG_ASSERT( xPageStyles.is(), + SAL_WARN_IF( !xPageStyles.is(), "xmloff", "Page Styles not found for export!" ); } } |