diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:07:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:04:37 +0100 |
commit | 65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch) | |
tree | 2e1a29f5d832ff0cb0d4c095f038392b472459d1 /xmloff/source/table/XMLTableExport.cxx | |
parent | 40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'xmloff/source/table/XMLTableExport.cxx')
-rw-r--r-- | xmloff/source/table/XMLTableExport.cxx | 16 |
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!"); } } |