summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/linkuno.hxx4
-rw-r--r--sc/source/ui/unoobj/linkuno.cxx3
2 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index ee29a6c6cef7..aa6a2dcf0752 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -85,7 +85,9 @@ public:
throw(::com::sun::star::uno::RuntimeException);
// XRefreshable
- virtual void SAL_CALL refresh() throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL refresh()
+ 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,
diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index 1ebff8cb776b..9bba5babc6d2 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -145,7 +145,8 @@ void SAL_CALL ScSheetLinkObj::setName( const OUString& aName ) throw(uno::Runtim
// XRefreshable
-void SAL_CALL ScSheetLinkObj::refresh() throw(uno::RuntimeException)
+void SAL_CALL ScSheetLinkObj::refresh()
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScTableLink* pLink = GetLink_Impl();