diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 16:45:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:55:49 +0100 |
commit | 9a36ba20c5c0a1c62976faf676db5f605c36ca70 (patch) | |
tree | 84e36b176ae6aa020191b0c89976af3d1434acb8 /basctl | |
parent | coverity#1308513 Uncaught exception (diff) | |
download | core-9a36ba20c5c0a1c62976faf676db5f605c36ca70.tar.gz core-9a36ba20c5c0a1c62976faf676db5f605c36ca70.zip |
coverity#1308514 Uncaught exception
Change-Id: I62d3d390ff9d1a44d8704b41ef62fff5d532bcc4
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 1921afe4fb3c..58edc60348ed 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -367,7 +367,7 @@ OUString ChooseMacro( const uno::Reference< frame::XModel >& rxLimitToDocument, } Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) - throw (NoSuchElementException, RuntimeException) + throw (NoSuchElementException, RuntimeException, std::exception) { Sequence< OUString > aSeqMethods; diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index ef996125840a..cea809ebd25b 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 (css::container::NoSuchElementException, css::uno::RuntimeException); + throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception); bool HasMethod( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName, const OUString& rMethName ); |