summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 16:45:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:49 +0100
commit9a36ba20c5c0a1c62976faf676db5f605c36ca70 (patch)
tree84e36b176ae6aa020191b0c89976af3d1434acb8 /basctl
parent959c669d471332194bba12602edd7a39495a22c4 (diff)
coverity#1308514 Uncaught exception
Change-Id: I62d3d390ff9d1a44d8704b41ef62fff5d532bcc4
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basobj2.cxx2
-rw-r--r--basctl/source/inc/basobj.hxx2
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 );