coverity#1308444 Uncaught exception

Change-Id: I103965dfb3e19964e58b3ca4ef34dcee2141d882
This commit is contained in:
Caolán McNamara
2015-06-27 16:13:07 +01:00
parent 3b4180a8c6
commit 232db3f79c

View File

@@ -95,7 +95,7 @@ class DocObjectWrapper : public DocObjectWrapper_BASE
Sequence< Type > m_Types;
SbModule* m_pMod;
SbMethodRef getMethod( const OUString& aName ) throw (RuntimeException, std::exception);
SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException);
SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException, std::exception);
OUString mName; // for debugging
public:
@@ -398,7 +398,7 @@ SbMethodRef DocObjectWrapper::getMethod( const OUString& aName ) throw (RuntimeE
return pMethod;
}
SbPropertyRef DocObjectWrapper::getProperty( const OUString& aName ) throw (RuntimeException)
SbPropertyRef DocObjectWrapper::getProperty( const OUString& aName ) throw (RuntimeException, std::exception)
{
SbPropertyRef pProperty = NULL;
if ( m_pMod )