diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:07:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:20 +0000 |
commit | ddfe6a197aa3c09ba84311a540f7eb40c8893da1 (patch) | |
tree | 44c4e8fecf56da0c74677e1e4beea2b36974cd07 | |
parent | 291bd0964b6e42b23e989d94262758b5d59da05a (diff) |
coverity#737619 Uncaught exception
Change-Id: I0e8d44d94fc34eb8d0b1b14fcdc997fafe0dca64
-rw-r--r-- | sc/inc/linkuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/linkuno.cxx | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx index 30b27ebe459e..1e64e6ac5791 100644 --- a/sc/inc/linkuno.hxx +++ b/sc/inc/linkuno.hxx @@ -408,7 +408,8 @@ public: virtual void SAL_CALL refresh() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addRefreshListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshListener >& l ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL removeRefreshListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshListener >& l ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx index c3f435669393..d0c3eb97840c 100644 --- a/sc/source/ui/unoobj/linkuno.cxx +++ b/sc/source/ui/unoobj/linkuno.cxx @@ -1144,8 +1144,8 @@ void SAL_CALL ScDDELinkObj::refresh() throw(uno::RuntimeException) } void SAL_CALL ScDDELinkObj::addRefreshListener( - const uno::Reference<util::XRefreshListener >& xListener ) - throw(uno::RuntimeException) + const uno::Reference<util::XRefreshListener >& xListener ) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; uno::Reference<util::XRefreshListener>* pObj = |