summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 16:13:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:24:57 +0100
commit232db3f79cd2cb28c44da993df7dab0b049746c9 (patch)
treeb54bdd1cc99d561ccfdf68a55b96aecc622b3406 /basic
parent3b4180a8c6a106e192f57922b500de33054d6958 (diff)
coverity#1308444 Uncaught exception
Change-Id: I103965dfb3e19964e58b3ca4ef34dcee2141d882
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 94e222c6ec53..d7126454b53f 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -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 )