summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Legend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main/Legend.cxx')
-rw-r--r--chart2/source/model/main/Legend.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx
index 4694e3b744c8..b989809050ae 100644
--- a/chart2/source/model/main/Legend.cxx
+++ b/chart2/source/model/main/Legend.cxx
@@ -32,6 +32,7 @@
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <com/sun/star/chart2/RelativeSize.hpp>
#include <cppuhelper/supportsservice.hxx>
+#include <tools/diagnose_ex.h>
#include <algorithm>
@@ -206,9 +207,9 @@ void SAL_CALL Legend::addModifyListener( const Reference< util::XModifyListener
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");
}
}
@@ -219,9 +220,9 @@ void SAL_CALL Legend::removeModifyListener( const Reference< util::XModifyListen
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");
}
}