diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-04 21:31:42 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:41 +0100 |
commit | 82e8f83571de00762e6aff0744a0f0fac31f39fb (patch) | |
tree | a78121e751343f149d4a508d184dc5bb311e1f38 /xmloff/source | |
parent | 170fea523b7f2420455cded5a016649aab19586c (diff) |
Move DBG_ERROR1 to OSL_TRACE
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/chart/SchXMLChartContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 16 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLImport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLSeries2Context.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLSeriesHelper.cxx | 4 |
6 files changed, 19 insertions, 19 deletions
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx index a676bed843..e8cf990fde 100644 --- a/xmloff/source/chart/SchXMLChartContext.cxx +++ b/xmloff/source/chart/SchXMLChartContext.cxx @@ -221,7 +221,7 @@ void lcl_removeEmptyChartTypeGroups( const uno::Reference< chart2::XChartDocumen { String aStr( ex.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "Exception caught while removing empty chart types: %s", aBStr.GetBuffer()); + OSL_TRACE( "Exception caught while removing empty chart types: %s", aBStr.GetBuffer()); } } diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index b0c0a4f8de..14dbac5a16 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -940,7 +940,7 @@ void lcl_exportNumberFormat( const OUString& rPropertyName, const Reference< bea #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "chart:exporting error bar ranges: %s", aBStr.GetBuffer()); + OSL_TRACE( "chart:exporting error bar ranges: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning #endif @@ -1860,7 +1860,7 @@ void SchXMLExportHelper_Impl::exportPlotArea( #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "chart:TableNumberList property caught: %s", aBStr.GetBuffer()); + OSL_TRACE( "chart:TableNumberList property caught: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning #endif @@ -1907,7 +1907,7 @@ void SchXMLExportHelper_Impl::exportPlotArea( #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "chart:exportPlotAreaException caught: %s", aBStr.GetBuffer()); + OSL_TRACE( "chart:exportPlotAreaException caught: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning #endif @@ -2971,7 +2971,7 @@ void SchXMLExportHelper_Impl::exportSeries( catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during Export of series - optional DataMeanValueProperties not available: %s", + OSL_TRACE( "Exception caught during Export of series - optional DataMeanValueProperties not available: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } @@ -3019,7 +3019,7 @@ void SchXMLExportHelper_Impl::exportSeries( catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during Export of series - optional DataErrorProperties not available: %s", + OSL_TRACE( "Exception caught during Export of series - optional DataErrorProperties not available: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } @@ -3095,7 +3095,7 @@ void SchXMLExportHelper_Impl::exportRegressionCurve( catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during Export of series - optional DataRegressionProperties not available: %s", + OSL_TRACE( "Exception caught during Export of series - optional DataRegressionProperties not available: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } @@ -3369,7 +3369,7 @@ void SchXMLExportHelper_Impl::exportDataPoints( catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during Export of data point: %s", + OSL_TRACE( "Exception caught during Export of data point: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } } @@ -3441,7 +3441,7 @@ void SchXMLExportHelper_Impl::exportDataPoints( catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during Export of data point: %s", + OSL_TRACE( "Exception caught during Export of data point: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } if( xPropSet.is()) diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx index c3cf8d37af..8c95642f7b 100644 --- a/xmloff/source/chart/SchXMLImport.cxx +++ b/xmloff/source/chart/SchXMLImport.cxx @@ -844,7 +844,7 @@ void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComp #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "SchXMLChartContext::StartElement(): Exception caught: %s", aBStr.GetBuffer()); + OSL_TRACE( "SchXMLChartContext::StartElement(): Exception caught: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning for pro build #endif diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 55b370497f..109c551473 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -164,7 +164,7 @@ void SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram( const uno::Refe #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "Exception caught for property NumberOfLines: %s", aBStr.GetBuffer()); + OSL_TRACE( "Exception caught for property NumberOfLines: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning for pro build #endif @@ -483,7 +483,7 @@ void SchXMLPlotAreaContext::StartElement( const uno::Reference< xml::sax::XAttri #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "PlotAreaContext:EndElement(): Exception caught: %s", aBStr.GetBuffer()); + OSL_TRACE( "PlotAreaContext:EndElement(): Exception caught: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning for pro build #endif @@ -660,7 +660,7 @@ void SchXMLPlotAreaContext::EndElement() #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "Exception caught for property NumberOfLines: %s", aBStr.GetBuffer()); + OSL_TRACE( "Exception caught for property NumberOfLines: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning for pro build #endif @@ -682,7 +682,7 @@ void SchXMLPlotAreaContext::EndElement() #ifdef DBG_UTIL String aStr( rEx.Message ); ByteString aBStr( aStr, RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR1( "Exception caught for property Volume: %s", aBStr.GetBuffer()); + OSL_TRACE( "Exception caught for property Volume: %s", aBStr.GetBuffer()); #else (void)rEx; // avoid warning for pro build #endif diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx index 248a282437..f8058e7c9f 100644 --- a/xmloff/source/chart/SchXMLSeries2Context.cxx +++ b/xmloff/source/chart/SchXMLSeries2Context.cxx @@ -855,7 +855,7 @@ void SchXMLSeries2Context::setStylesToSeries( SeriesDefaultsAndStyles& rSeriesDe catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during setting styles to series: %s", + OSL_TRACE( "Exception caught during setting styles to series: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } } @@ -939,7 +939,7 @@ void SchXMLSeries2Context::setStylesToStatisticsObjects( SeriesDefaultsAndStyles catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during setting styles to series: %s", + OSL_TRACE( "Exception caught during setting styles to series: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } } @@ -1038,7 +1038,7 @@ void SchXMLSeries2Context::setStylesToDataPoints( SeriesDefaultsAndStyles& rSeri catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught during setting styles to data points: %s", + OSL_TRACE( "Exception caught during setting styles to data points: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } } diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx index c2a07cae75..44f0c863d9 100644 --- a/xmloff/source/chart/SchXMLSeriesHelper.cxx +++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx @@ -253,7 +253,7 @@ uno::Reference< beans::XPropertySet > SchXMLSeriesHelper::createOldAPISeriesProp catch( uno::Exception & rEx ) { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught SchXMLSeriesHelper::createOldAPISeriesPropertySet: %s", + OSL_TRACE( "Exception caught SchXMLSeriesHelper::createOldAPISeriesPropertySet: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } } @@ -292,7 +292,7 @@ uno::Reference< beans::XPropertySet > SchXMLSeriesHelper::createOldAPIDataPointP { (void)rEx; // avoid warning for pro build - DBG_ERROR1( "Exception caught SchXMLSeriesHelper::createOldAPIDataPointPropertySet: %s", + OSL_TRACE( "Exception caught SchXMLSeriesHelper::createOldAPIDataPointPropertySet: %s", OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); } } |