summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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 );