diff options
Diffstat (limited to 'xmloff/source/chart/SchXMLPlotAreaContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index b724655f7066..b625331c6db5 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -117,8 +117,7 @@ void SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram( const uno::Refe } catch( const uno::Exception & rEx ) { - OString aBStr(OUStringToOString(rEx.Message, RTL_TEXTENCODING_ASCII_US)); - SAL_INFO("xmloff.chart", "Exception caught for property NumberOfLines: " << aBStr); + SAL_INFO("xmloff.chart", "Exception caught for property NumberOfLines: " << rEx); } } @@ -384,8 +383,7 @@ void SchXMLPlotAreaContext::StartElement( const uno::Reference< xml::sax::XAttri } catch( const uno::Exception & rEx ) { - OString aBStr(OUStringToOString(rEx.Message, RTL_TEXTENCODING_ASCII_US)); - SAL_INFO("xmloff.chart", "PlotAreaContext:EndElement(): Exception caught: " << aBStr); + SAL_INFO("xmloff.chart", "PlotAreaContext:EndElement(): Exception caught: " << rEx); } } // if @@ -555,8 +553,7 @@ void SchXMLPlotAreaContext::EndElement() } catch( const uno::Exception & rEx ) { - OString aBStr(OUStringToOString(rEx.Message, RTL_TEXTENCODING_ASCII_US)); - SAL_INFO("xmloff.chart", "Exception caught for property NumberOfLines: " << aBStr); + SAL_INFO("xmloff.chart", "Exception caught for property NumberOfLines: " << rEx); } } @@ -571,8 +568,7 @@ void SchXMLPlotAreaContext::EndElement() } catch( const uno::Exception & rEx ) { - OString aBStr(OUStringToOString(rEx.Message, RTL_TEXTENCODING_ASCII_US)); - SAL_INFO("xmloff.chart", "Exception caught for property Volume: " << aBStr); + SAL_INFO("xmloff.chart", "Exception caught for property Volume: " << rEx); } } } |