diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 15:38:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 15:38:31 +0000 |
commit | f5224665b8d613afca9cd57f9af0c88e4518e2c7 (patch) | |
tree | 993ee854b23551f33961c3fd6fdc604a954d0d76 /sw | |
parent | 3a06d4837e7f476f1781b83fdd86cdde3c6e9b5b (diff) |
coverity#738077 Uncaught exception
Change-Id: I85a482945c3851bf13aa6d2c65b6b297ea885bca
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/accpara.hxx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 9d44d632ed4b..8570081d8d10 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -2648,7 +2648,7 @@ OUString SwAccessibleParagraph::getSelectedText() } sal_Int32 SwAccessibleParagraph::getSelectionStart() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx index 4b8f0d9f81dc..ddf1e5c7abe8 100644 --- a/sw/source/core/access/accpara.hxx +++ b/sw/source/core/access/accpara.hxx @@ -334,7 +334,9 @@ public: virtual sal_Int32 SAL_CALL getIndexAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException); virtual OUString SAL_CALL getSelectedText( ) throw (::com::sun::star::uno::RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL getSelectionStart( ) throw (::com::sun::star::uno::RuntimeException); + virtual sal_Int32 SAL_CALL getSelectionStart() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual sal_Int32 SAL_CALL getSelectionEnd() throw (::com::sun::star::uno::RuntimeException, std::exception); |