From 232db3f79cd2cb28c44da993df7dab0b049746c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 27 Jun 2015 16:13:07 +0100 Subject: [PATCH] coverity#1308444 Uncaught exception Change-Id: I103965dfb3e19964e58b3ca4ef34dcee2141d882 --- basic/source/classes/sbxmod.cxx | 4 ++-- 1 file 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 )