summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-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 b34c3c1b9ef3..b03dc63907b8 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -237,7 +237,9 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
- virtual OUString SAL_CALL getString(void) throw( ::com::sun::star::uno::RuntimeException );
+ virtual OUString SAL_CALL getString()
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL setString(const OUString& aString) throw( ::com::sun::star::uno::RuntimeException );
//XScreenCursor
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 4e90305c76a5..5e1efb98906a 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1428,7 +1428,8 @@ uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd()
return xRet;
}
-OUString SwXTextViewCursor::getString(void) throw( uno::RuntimeException )
+OUString SwXTextViewCursor::getString()
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
OUString uRet;