diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 13:13:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 20:19:11 +0100 |
commit | 2d4c90e82eb8d67a2f94f40a219723b08cf4c347 (patch) | |
tree | 2ae21078ac5596bab7510091ea8d44f81d9de835 /basctl | |
parent | 1a88414f52e0f16aad1f992c7e6d6590cffdc462 (diff) |
coverity#736990 Uncaught exception
Change-Id: I3b7f4c732a5a3369c05c75ede1580b32837be671
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basobj2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/basobj.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx index 63c1db46d357..9fc771c19325 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -378,7 +378,7 @@ OUString ChooseMacro( const uno::Reference< frame::XModel >& rxLimitToDocument, } Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) - throw(NoSuchElementException ) + throw (NoSuchElementException, RuntimeException) { Sequence< OUString > aSeqMethods; diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index aab5cd59e869..ad65561fa3c1 100644 --- a/basctl/source/inc/basobj.hxx +++ b/basctl/source/inc/basobj.hxx @@ -79,7 +79,7 @@ namespace basctl ::com::sun::star::uno::Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) - throw( ::com::sun::star::container::NoSuchElementException ); + throw (css::container::NoSuchElementException, css::uno::RuntimeException); bool HasMethod( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName, const OUString& rMethName ); |