diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:39:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:21 +0000 |
commit | 67593fd5107a7445fc983c22daad213268fa781e (patch) | |
tree | 21d186c65f9ec349f09d37ffaa3f8955d4729fdb /sw | |
parent | a007379220a585d7a43189c729bf672972b0a7c1 (diff) |
coverit#738445 Uncaught exception
Change-Id: Ib4b7abfbf8f3c2bd853c72ffe399abdeb9ecf945
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/inc/unotxvw.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxvw.cxx | 3 |
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; |