summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 10:23:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:24 +0000
commit2bbbfe03c3dcd50fd72f6d206a39cdde463a0107 (patch)
tree3c961874b7f2c7a5b3d421a02882799f3a984796 /sc
parent21a5393672174a52a573077bba3685e3ebe671d3 (diff)
coverity#737723 Uncaught exception
Change-Id: I0026fc7811469eae3f62b531ad1626a6af1f743c
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/viewuno.hxx3
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 1d4c92ad7d74..755079c1da66 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -331,7 +331,8 @@ public:
virtual void SAL_CALL addActivationEventListener( const ::com::sun::star::uno::Reference<
::com::sun::star::sheet::XActivationEventListener >& aListener )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL removeActivationEventListener( const ::com::sun::star::uno::Reference<
::com::sun::star::sheet::XActivationEventListener >& aListener )
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 0bf01bd0462d..f8c3b0bd88a8 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1433,7 +1433,7 @@ void SAL_CALL ScTabViewObj::removeEnhancedMouseClickHandler( const uno::Referenc
// XActivationBroadcaster
void SAL_CALL ScTabViewObj::addActivationEventListener( const uno::Reference< sheet::XActivationEventListener >& aListener )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;