summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/inc/unotxvw.hxx4
-rw-r--r--sw/source/ui/uno/unotxvw.cxx3
2 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx
index fda452f15e03..b34c3c1b9ef3 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -244,7 +244,9 @@ public:
virtual sal_Bool SAL_CALL screenDown()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
- virtual sal_Bool SAL_CALL screenUp(void) throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL screenUp()
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
//XViewCursor
virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand)
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 26ca55880875..4e90305c76a5 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1351,7 +1351,8 @@ sal_Bool SwXTextViewCursor::screenDown()
return bRet;
}
-sal_Bool SwXTextViewCursor::screenUp(void) throw( uno::RuntimeException )
+sal_Bool SwXTextViewCursor::screenUp()
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_Bool bRet = sal_False;