diff options
Diffstat (limited to 'chart2/source/tools/TitleHelper.cxx')
-rw-r--r-- | chart2/source/tools/TitleHelper.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chart2/source/tools/TitleHelper.cxx b/chart2/source/tools/TitleHelper.cxx index 1c7412ea2f8a..9a597b56c61c 100644 --- a/chart2/source/tools/TitleHelper.cxx +++ b/chart2/source/tools/TitleHelper.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/chart2/FormattedString.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <rtl/ustrbuf.hxx> +#include <tools/diagnose_ex.h> namespace chart { @@ -285,9 +286,9 @@ uno::Reference< XTitle > TitleHelper::createTitle( } } } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } } } @@ -371,9 +372,9 @@ void TitleHelper::setCompleteString( const OUString& rNewText xFormattedString->setPropertyValue( "CharHeightAsian", aFontSize ); xFormattedString->setPropertyValue( "CharHeightComplex", aFontSize ); } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } } } |