diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:24:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:25 +0000 |
commit | db0e23abe9c285aabeed332f0c03f48988e48fd3 (patch) | |
tree | 2e128bec6d146790f292a4d50b8cb15562c57ff2 /sc | |
parent | 4fd131c78fb02d35c07c842bdff651eacb488d43 (diff) |
coverity#737725 Uncaught exception
Change-Id: If66782ee4cac491a3115b6274258be533dbf2f4b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/viewuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/viewuno.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx index e7f1d1f7087d..6cd68266600f 100644 --- a/sc/inc/viewuno.hxx +++ b/sc/inc/viewuno.hxx @@ -323,7 +323,8 @@ public: virtual void SAL_CALL addEnhancedMouseClickHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XEnhancedMouseClickHandler >& aListener ) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL removeEnhancedMouseClickHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XEnhancedMouseClickHandler >& aListener ) throw (::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 6f98cf08b327..e58b7b4a8d1b 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -1398,7 +1398,7 @@ void ScTabViewObj::EndActivationListening() } void SAL_CALL ScTabViewObj::addEnhancedMouseClickHandler( const uno::Reference< awt::XEnhancedMouseClickHandler >& aListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; |