diff options
-rw-r--r-- | sw/source/ui/inc/unotxvw.hxx | 8 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxvw.cxx | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx index 626cd1a22789..7a871e4c4742 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -178,9 +178,11 @@ public: //XTextCursor - neu virtual void SAL_CALL collapseToStart() - throw(::com::sun::star::uno::RuntimeException, - std::exception); - virtual void SAL_CALL collapseToEnd( ) throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void SAL_CALL collapseToEnd() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual sal_Bool SAL_CALL isCollapsed( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL goLeft( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, 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 3ceecfaecff2..786d151856bd 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -962,7 +962,8 @@ void SwXTextViewCursor::collapseToStart() throw uno::RuntimeException(); } -void SwXTextViewCursor::collapseToEnd(void) throw( uno::RuntimeException ) +void SwXTextViewCursor::collapseToEnd() + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if(m_pView) |