From 121446a6ffedecf18d88421c821b3faa323e03a5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Feb 2014 13:24:09 +0000 Subject: coverity#737447 Uncaught exception Change-Id: I416d5b7d42a5ea49f40a18aaf4e1041307914c33 --- sc/inc/cellsuno.hxx | 3 ++- sc/source/ui/unoobj/cellsuno.cxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index a90e2a6c69d2..1e8eac78716e 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -371,7 +371,8 @@ public: std::exception); virtual void SAL_CALL removeChartDataChangeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartDataChangeEventListener >& aListener ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual double SAL_CALL getNotANumber() throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isNotANumber( double nNumber ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 5887874e2938..94775569fd90 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3370,7 +3370,7 @@ void SAL_CALL ScCellRangesBase::addChartDataChangeEventListener( const uno::Refe void SAL_CALL ScCellRangesBase::removeChartDataChangeEventListener( const uno::Reference< chart::XChartDataChangeEventListener >& aListener ) - throw(uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if ( pDocShell && !aRanges.empty() ) -- cgit