summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 12:29:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-28 13:49:50 +0100
commit3d046b753dbdd3623cfaab132c5ada03e15bf8be (patch)
treead39470ee1e1b1a67f6827f00670982075641077 /basic
parent9986fe77f46d8ca034aa2bfd78a2454d906bacc8 (diff)
coverity#706235 Uncaught exception
Change-Id: I06321ca2b686207a1d9bd698461aedf84daf31e1
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbunoobj.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 5402a9285fce..b5611fa05b1f 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -4339,7 +4339,7 @@ public:
// XInvocation
virtual Reference< XIntrospectionAccess > SAL_CALL getIntrospection() throw(std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setValue( const OUString& rProperty, const Any& rValue )
- throw( UnknownPropertyException, std::exception ) SAL_OVERRIDE;
+ throw (UnknownPropertyException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual Any SAL_CALL getValue( const OUString& rProperty )
throw (UnknownPropertyException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasMethod( const OUString& rName ) throw(std::exception) SAL_OVERRIDE;
@@ -4371,7 +4371,8 @@ Reference< XIntrospectionAccess > SAL_CALL ModuleInvocationProxy::getIntrospecti
return Reference< XIntrospectionAccess >();
}
-void SAL_CALL ModuleInvocationProxy::setValue( const OUString& rProperty, const Any& rValue ) throw( UnknownPropertyException, std::exception )
+void SAL_CALL ModuleInvocationProxy::setValue(const OUString& rProperty, const Any& rValue)
+ throw (UnknownPropertyException, RuntimeException, std::exception)
{
if( !m_bProxyIsClassModuleObject )
throw UnknownPropertyException();