diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:08:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:21 +0000 |
commit | 8a6c074532f837a636e043b4f5e25f927ec62352 (patch) | |
tree | 0b14028a040cbf6802903eaf7d0c8c4f389fecda /sc | |
parent | ddfe6a197aa3c09ba84311a540f7eb40c8893da1 (diff) |
coverity#737620 Uncaught exception
Change-Id: Idd75e9c344473f8d7f86f3d073568b55c4638adc
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/linkuno.hxx | 7 | ||||
-rw-r--r-- | sc/source/ui/unoobj/linkuno.cxx | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx index 1e64e6ac5791..cafe41afafdc 100644 --- a/sc/inc/linkuno.hxx +++ b/sc/inc/linkuno.hxx @@ -236,11 +236,12 @@ public: // XRefreshable virtual void SAL_CALL refresh() - throw(::com::sun::star::uno::RuntimeException, - std::exception); + throw (::com::sun::star::uno::RuntimeException, + std::exception); 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 d0c3eb97840c..ad5ae02eac87 100644 --- a/sc/source/ui/unoobj/linkuno.cxx +++ b/sc/source/ui/unoobj/linkuno.cxx @@ -705,8 +705,8 @@ void SAL_CALL ScAreaLinkObj::refresh() } void SAL_CALL ScAreaLinkObj::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 = |