diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:41:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:22 +0000 |
commit | 334e99c08214563bb208448d1045f95e664d4c3e (patch) | |
tree | 272f17ce355cdb24ccbeeee4b41562e9d0d539a2 /sw | |
parent | 544d618c5bef63ca9ffa336f3c4dac1a5030dd34 (diff) |
coverity#738449 Uncaught exception
Change-Id: I74c125c9a7aca1f9e2f23f83878d9ba1797eee34
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 56965e1a63bb..7205792c2e46 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -205,7 +205,9 @@ public: virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, sal_Bool bExpand ) throw (::com::sun::star::uno::RuntimeException, std::exception); - virtual void SAL_CALL gotoStart( sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL gotoStart( sal_Bool bExpand ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL gotoEnd( sal_Bool bExpand ) throw (::com::sun::star::uno::RuntimeException, std::exception); diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 21c71371bc20..0f665d12480a 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1191,7 +1191,8 @@ void SwXTextViewCursor::gotoRange( } -void SwXTextViewCursor::gotoStart(sal_Bool bExpand) throw( uno::RuntimeException ) +void SwXTextViewCursor::gotoStart(sal_Bool bExpand) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if(m_pView) |