diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:33:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:20 +0000 |
commit | b5363ca990da0265f74f28578e506103ff430a45 (patch) | |
tree | 58be13a74812af4f0a0a699470cd56d99c0e25c7 /sw/source | |
parent | 904f20574667eee6afff2626401832745a7eed4d (diff) |
coverity#738439 Uncaught exception
Change-Id: Id41ca6a0c254777fec3894c11fc755d9087af51a
Diffstat (limited to 'sw/source')
-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 855dc645cd2c..75c4eae7eb37 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -206,7 +206,9 @@ public: 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 gotoEnd( sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL gotoEnd( sal_Bool bExpand ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL gotoRange( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xRange, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); //XPageCursor diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 4a2e76e0a50c..44497d9ee0ac 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1205,7 +1205,8 @@ void SwXTextViewCursor::gotoStart(sal_Bool bExpand) throw( uno::RuntimeException throw uno::RuntimeException(); } -void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) throw( uno::RuntimeException ) +void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if(m_pView) |