diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-05 16:20:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-09 08:46:34 +0200 |
commit | 48fbfe38f60de731ff8bec0372179bedd6670af4 (patch) | |
tree | 2a1bbc4a2207d049d38c058d7f4ebb06a4f01182 /chart2/source/model/template/BubbleChartTypeTemplate.cxx | |
parent | 115a8539038ecdd5e496fb6c84101c5b14d11068 (diff) |
use more DBG_UNHANDLED_EXCEPTION
so we get nice logs of the exception dynamic type for UNO exceptions.
Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb
Reviewed-on: https://gerrit.libreoffice.org/52465
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/BubbleChartTypeTemplate.cxx')
-rw-r--r-- | chart2/source/model/template/BubbleChartTypeTemplate.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.cxx b/chart2/source/model/template/BubbleChartTypeTemplate.cxx index 07eb859e104b..e117e5b7c55b 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.cxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/drawing/LineStyle.hpp> #include <PropertyHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> +#include <tools/diagnose_ex.h> #include <algorithm> @@ -166,9 +167,9 @@ Reference< chart2::XChartType > BubbleChartTypeTemplate::getChartTypeForIndex( s xResult.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_BUBBLE ), uno::UNO_QUERY_THROW ); } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } return xResult; @@ -188,9 +189,9 @@ Reference< chart2::XChartType > SAL_CALL BubbleChartTypeTemplate::getChartTypeFo ChartTypeTemplate::copyPropertiesFromOldToNewCoordinateSystem( aFormerlyUsedChartTypes, xResult ); } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } return xResult; |