coverity#1308435 Uncaught exception

Change-Id: I8d4ba326e94565bc1ae8b57e406883f737049aea
This commit is contained in:
Caolán McNamara
2015-06-27 13:55:05 +01:00
parent d5df383378
commit 25b665a2f3

View File

@@ -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 )