diff options
-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 = |