summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 21:31:42 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:41 +0100
commit3560e5891f3a1ad6c597792d3004cf39ab85dbae (patch)
tree78e838248a4b1eacbf2d2e9a7c6ad4c74d63a2ce /xmloff/source
parent52417ccecbf2023ec78be068f0803518971321f0 (diff)
Move DBG_ERROR1 to OSL_TRACE
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/SchXMLChartContext.cxx2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx16
-rw-r--r--xmloff/source/chart/SchXMLImport.cxx2
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.cxx8
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.cxx6
-rw-r--r--xmloff/source/chart/SchXMLSeriesHelper.cxx4
6 files changed, 19 insertions, 19 deletions
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx
index b448f0658248..30f14a171032 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 60f56f6ede18..ba74da15efb4 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 173bdadc21f1..b01a4f995cec 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 15d4568cfc40..4d1430615dc1 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 3dcfa34a019e..92a9239cfe70 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 0b0c3325abdc..5996da5c89fd 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() );
}
}