summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 13:24:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 15:30:24 +0000
commit121446a6ffedecf18d88421c821b3faa323e03a5 (patch)
treecb07756d61536cd8256f8bbae75f293f17e1d607 /sc
parent4712767c1901efef268c1ae5f5e3a47ddf363811 (diff)
coverity#737447 Uncaught exception
Change-Id: I416d5b7d42a5ea49f40a18aaf4e1041307914c33
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
2 files changed, 3 insertions, 2 deletions
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() )