diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 10:08:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 13:03:53 +0000 |
commit | 5cd19ed6edad7ca4871f75c32283393a7cfcd810 (patch) | |
tree | b58c8e89a8b19db160e42a60998b1edf8a71bbc8 /sw | |
parent | 99ab7e44e4c5511445b3164008860765908f9946 (diff) |
coverity#738411 Uncaught exception
Change-Id: I9ef08a451101a65816d3ee00d4bf6e27c536eb0e
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 92e63d4092ab..e0a69d9aca32 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -219,7 +219,9 @@ public: std::exception); virtual sal_Bool SAL_CALL isAtEndOfLine(void) throw( ::com::sun::star::uno::RuntimeException ); 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 ); + virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) + throw (::com::sun::star::uno::RuntimeException, + std::exception); //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 5f1a31fa403d..17f62faa08e7 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1676,7 +1676,8 @@ void SwXTextViewCursor::gotoEndOfLine(sal_Bool bExpand) throw( uno::RuntimeExcep throw uno::RuntimeException(); } -void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand) throw( uno::RuntimeException ) +void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if(m_pView) |