diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 12:27:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 13:49:50 +0100 |
commit | 9986fe77f46d8ca034aa2bfd78a2454d906bacc8 (patch) | |
tree | 6384f4da7be443ebc47bdff790d9a1286165421c /basic | |
parent | cf16d4eb9d52af9a17bcb0ccd1738998e64147bd (diff) |
coverity#706234 Uncaught exception
Change-Id: I7542008369ed3433cd8bfce7702f036148195516
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 3c274243c144..5402a9285fce 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4341,7 +4341,7 @@ public: virtual void SAL_CALL setValue( const OUString& rProperty, const Any& rValue ) throw( UnknownPropertyException, std::exception ) SAL_OVERRIDE; virtual Any SAL_CALL getValue( const OUString& rProperty ) - throw( UnknownPropertyException, std::exception ) SAL_OVERRIDE; + throw (UnknownPropertyException, RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasMethod( const OUString& rName ) throw(std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasProperty( const OUString& rProp ) throw(std::exception) SAL_OVERRIDE; @@ -4409,7 +4409,8 @@ void SAL_CALL ModuleInvocationProxy::setValue( const OUString& rProperty, const } -Any SAL_CALL ModuleInvocationProxy::getValue( const OUString& rProperty ) throw( UnknownPropertyException, std::exception ) +Any SAL_CALL ModuleInvocationProxy::getValue(const OUString& rProperty) + throw (UnknownPropertyException, RuntimeException, std::exception) { if( !m_bProxyIsClassModuleObject ) { |