diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 10:11:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 13:03:54 +0000 |
commit | 7717150491e73ec61eeb3aa1bc4d86d7e3a7dce1 (patch) | |
tree | 259778c83c766a3367d777f7a284624e0b2ccb40 /sw | |
parent | 0321ebad5645866a244cea0fa16cb00b9c49eace (diff) |
coverity#738403 Uncaught exception
Change-Id: Ie8b6586b29976abddd204ad5150edda13bf27230
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 eb3e7bb4e51a..af52b7cfdcba 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -221,7 +221,9 @@ public: virtual sal_Bool SAL_CALL isAtStartOfLine() throw (::com::sun::star::uno::RuntimeException, std::exception); - virtual sal_Bool SAL_CALL isAtEndOfLine(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL isAtEndOfLine() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) throw (::com::sun::star::uno::RuntimeException, diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 394940734e5d..4d2251429298 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1648,7 +1648,8 @@ sal_Bool SwXTextViewCursor::isAtStartOfLine() return bRet; } -sal_Bool SwXTextViewCursor::isAtEndOfLine(void) throw( uno::RuntimeException ) +sal_Bool SwXTextViewCursor::isAtEndOfLine() + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; sal_Bool bRet = sal_False; |