summaryrefslogtreecommitdiffstats
path: root/xmloff/source/table/XMLTableExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/table/XMLTableExport.cxx')
-rw-r--r--xmloff/source/table/XMLTableExport.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx
index b589ba58c924..9d536b60d887 100644
--- a/xmloff/source/table/XMLTableExport.cxx
+++ b/xmloff/source/table/XMLTableExport.cxx
@@ -248,7 +248,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableExport::collectTableAutoStyles(), exception during column style collection!");
+ OSL_FAIL("xmloff::XMLTableExport::collectTableAutoStyles(), exception during column style collection!");
}
Reference< XIndexAccess > xIndexAccessRows( xColumnRowRange->getRows(), UNO_QUERY_THROW );
@@ -316,12 +316,12 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableExport::collectTableAutoStyles(), exception during column style collection!");
+ OSL_FAIL("xmloff::XMLTableExport::collectTableAutoStyles(), exception during column style collection!");
}
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableExport::collectTableAutoStyles(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableExport::collectTableAutoStyles(), exception caught!");
}
}
@@ -387,7 +387,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
}
catch( Exception )
{
- DBG_ERROR( "XMLTableExport::exportTable(), exception cought!" );
+ OSL_FAIL( "XMLTableExport::exportTable(), exception cought!" );
}
}
@@ -452,7 +452,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
}
catch ( Exception )
{
- DBG_ERROR( "exception while exporting a table cell" );
+ OSL_FAIL( "exception while exporting a table cell" );
}
// table:number-columns-repeated
@@ -575,7 +575,7 @@ void XMLTableExport::exportTableTemplates()
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableExport::exportTableTemplates(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableExport::exportTableTemplates(), exception caught!");
}
pElements++;
@@ -583,12 +583,12 @@ void XMLTableExport::exportTableTemplates()
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableExport::exportTableDesigns(), exception caught while exporting a table design!");
+ OSL_FAIL("xmloff::XMLTableExport::exportTableDesigns(), exception caught while exporting a table design!");
}
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableExport::exportTableDesigns(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableExport::exportTableDesigns(), exception caught!");
}
}