diff options
Diffstat (limited to 'xmloff/source/chart/SchXMLExport.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 425556b5413f..60f56f6ede18 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -568,7 +568,7 @@ bool lcl_hasChartType( const Reference< chart2::XDiagram > & xDiagram, const OUS } catch( uno::Exception & ) { - DBG_ERROR( "Exception while searching for chart type in diagram" ); + OSL_FAIL( "Exception while searching for chart type in diagram" ); } return false; } @@ -1148,7 +1148,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >& Reference< chart2::XChartDocument > xNewDoc( rChartDoc, uno::UNO_QUERY ); if( !rChartDoc.is() || !xNewDoc.is() ) { - DBG_ERROR( "No XChartDocument was given for export." ); + OSL_FAIL( "No XChartDocument was given for export." ); return; } @@ -1886,7 +1886,7 @@ void SchXMLExportHelper_Impl::exportPlotArea( } catch( beans::UnknownPropertyException & ) { - DBG_ERROR( "Property HasSecondaryYAxis not found in Diagram" ); + OSL_FAIL( "Property HasSecondaryYAxis not found in Diagram" ); } // 3d attributes @@ -3684,7 +3684,7 @@ void SchXMLExport::_ExportAutoStyles() } else { - DBG_ERROR( "Couldn't export chart due to wrong XModel (must be XChartDocument)" ); + OSL_FAIL( "Couldn't export chart due to wrong XModel (must be XChartDocument)" ); } } } @@ -3742,7 +3742,7 @@ void SchXMLExport::_ExportContent() } catch( beans::UnknownPropertyException & ) { - DBG_ERROR( "Property ChartRangeAddress not supported by ChartDocument" ); + OSL_FAIL( "Property ChartRangeAddress not supported by ChartDocument" ); } } } @@ -3752,7 +3752,7 @@ void SchXMLExport::_ExportContent() } else { - DBG_ERROR( "Couldn't export chart due to wrong XModel" ); + OSL_FAIL( "Couldn't export chart due to wrong XModel" ); } } |