diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-31 14:50:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-02 12:14:48 +0100 |
commit | 9ed8e1f19c3d9cffc1052350a5854c3097639874 (patch) | |
tree | ca87aa3918f6c0ed6bd298c04f2175d88eb31991 /sw/source/ui/vba | |
parent | 62962557bacb6f90c9c23ec787fe83e0b0ea35fa (diff) |
coverity#707409 Uncaught exception
Change-Id: I0f19cd6411c7008a4698fc81fd2ce9c4108ce8eb
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r-- | sw/source/ui/vba/vbaview.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaview.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaview.cxx b/sw/source/ui/vba/vbaview.cxx index 3cf95f492bf0..bca5ca6088f2 100644 --- a/sw/source/ui/vba/vbaview.cxx +++ b/sw/source/ui/vba/vbaview.cxx @@ -115,7 +115,7 @@ SwVbaView::getSeekView() throw (css::uno::RuntimeException, std::exception) } void SAL_CALL -SwVbaView::setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, std::exception) +SwVbaView::setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, css::script::BasicErrorException, std::exception) { // FIXME: save the current cursor position, if the cursor is in the main // document, so we can jump back to this position, if the macro sets diff --git a/sw/source/ui/vba/vbaview.hxx b/sw/source/ui/vba/vbaview.hxx index c2962a894a8e..2074cc838a02 100644 --- a/sw/source/ui/vba/vbaview.hxx +++ b/sw/source/ui/vba/vbaview.hxx @@ -45,7 +45,7 @@ public: // XView virtual ::sal_Int32 SAL_CALL getSeekView() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, css::script::BasicErrorException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL getSplitSpecial() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setSplitSpecial( ::sal_Int32 _splitspecial ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL getTableGridLines() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; |