summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 13:55:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 14:42:20 +0100
commit25b665a2f31155f7a2368150bd7161d6f880023c (patch)
tree90f991c54ff647c4be67a85c8545141bf63294f4 /basic
parentd5df3833784cd6be63cffcc9dd73d82a401f11a0 (diff)
coverity#1308435 Uncaught exception
Change-Id: I8d4ba326e94565bc1ae8b57e406883f737049aea
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index a2b6f9aa4d42..94e222c6ec53 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -94,7 +94,7 @@ class DocObjectWrapper : public DocObjectWrapper_BASE
Reference< XTypeProvider > m_xAggregateTypeProv;
Sequence< Type > m_Types;
SbModule* m_pMod;
- SbMethodRef getMethod( const OUString& aName ) throw (RuntimeException);
+ SbMethodRef getMethod( const OUString& aName ) throw (RuntimeException, std::exception);
SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException);
OUString mName; // for debugging
@@ -383,7 +383,7 @@ Any SAL_CALL DocObjectWrapper::queryInterface( const Type& aType )
return aRet;
}
-SbMethodRef DocObjectWrapper::getMethod( const OUString& aName ) throw (RuntimeException)
+SbMethodRef DocObjectWrapper::getMethod( const OUString& aName ) throw (RuntimeException, std::exception)
{
SbMethodRef pMethod = NULL;
if ( m_pMod )