diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-09 09:17:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-09 09:59:01 +0100 |
commit | ed8678f3f810d096f00b2dc4053d519ab487be69 (patch) | |
tree | 01b5da4a5b96b6d2e13f7eb0b96355192615b874 | |
parent | 2acf20d41dd49a534ec498eb0da9e58a445b5d43 (diff) |
coverity#707392 Uncaught exception
Change-Id: I184df03332187bd97ae715e8a2a7966e7f09a21d
-rw-r--r-- | sw/source/ui/vba/vbarange.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbarange.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbarange.cxx b/sw/source/ui/vba/vbarange.cxx index f34df1583caf..d6ef73cc25f1 100644 --- a/sw/source/ui/vba/vbarange.cxx +++ b/sw/source/ui/vba/vbarange.cxx @@ -63,7 +63,7 @@ SwVbaRange::~SwVbaRange() { } -void SwVbaRange::initialize( const uno::Reference< text::XTextRange >& rStart, const uno::Reference< text::XTextRange >& rEnd ) throw (uno::RuntimeException) +void SwVbaRange::initialize( const uno::Reference< text::XTextRange >& rStart, const uno::Reference< text::XTextRange >& rEnd ) throw (css::script::BasicErrorException, uno::RuntimeException) { if( !mxText.is() ) { diff --git a/sw/source/ui/vba/vbarange.hxx b/sw/source/ui/vba/vbarange.hxx index 33fffd42e7f8..a81f7ae08c85 100644 --- a/sw/source/ui/vba/vbarange.hxx +++ b/sw/source/ui/vba/vbarange.hxx @@ -41,7 +41,7 @@ private: bool mbMaySpanEndOfDocument; private: - void initialize( const css::uno::Reference< css::text::XTextRange >& rStart, const css::uno::Reference< css::text::XTextRange >& rEnd ) throw (css::uno::RuntimeException); + void initialize( const css::uno::Reference< css::text::XTextRange >& rStart, const css::uno::Reference< css::text::XTextRange >& rEnd ) throw (css::script::BasicErrorException, css::uno::RuntimeException); void GetStyleInfo(OUString& aStyleName, OUString& aStyleType ) throw ( css::uno::RuntimeException ); public: SwVbaRange( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< css::text::XTextDocument >& rTextDocument, const css::uno::Reference< css::text::XTextRange >& rStart, bool _bMaySpanEndOfDocument = false ) throw (css::uno::RuntimeException); |