diff options
Diffstat (limited to 'chart2/source/model/main/DataPoint.cxx')
-rw-r--r-- | chart2/source/model/main/DataPoint.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx index 3887451b9bcc..b85f3f5ab2e0 100644 --- a/chart2/source/model/main/DataPoint.cxx +++ b/chart2/source/model/main/DataPoint.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <cppuhelper/supportsservice.hxx> +#include <tools/diagnose_ex.h> #include <algorithm> @@ -141,9 +142,9 @@ DataPoint::~DataPoint() && xPropertySet.is()) ModifyListenerHelper::removeListener( xPropertySet, m_xModifyEventForwarder ); } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } } @@ -226,9 +227,9 @@ void SAL_CALL DataPoint::addModifyListener( const uno::Reference< util::XModifyL uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW ); xBroadcaster->addModifyListener( aListener ); } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } } @@ -239,9 +240,9 @@ void SAL_CALL DataPoint::removeModifyListener( const uno::Reference< util::XModi uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW ); xBroadcaster->removeModifyListener( aListener ); } - catch( const uno::Exception & ex ) + catch( const uno::Exception & ) { - SAL_WARN("chart2", "Exception caught. " << ex ); + DBG_UNHANDLED_EXCEPTION("chart2"); } } |