diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 12:50:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 13:03:50 +0100 |
commit | 652eb268f0902d96a359ef803c3d8ac0721ca7ac (patch) | |
tree | 69ca61cdf8cbbe92fd9c70b8dd8a23af2cc1fb3e /sw | |
parent | 26055db273f6ee5da37b56f5fc5cabd7d2d1823e (diff) |
coverity#983966 Uncaught exception
Change-Id: I4928d7e9c9f4cd0dd3f6b1236da9283666766a47
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/inc/unomod.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/uibase/uno/unomod.cxx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx index 4931b5ab520c..917144c860f9 100644 --- a/sw/source/core/uibase/inc/unomod.hxx +++ b/sw/source/core/uibase/inc/unomod.hxx @@ -146,7 +146,9 @@ protected: virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _postGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx index 98ce7e70a84e..b166f215d7d1 100644 --- a/sw/source/core/uibase/uno/unomod.cxx +++ b/sw/source/core/uibase/uno/unomod.cxx @@ -827,7 +827,7 @@ void SwXViewSettings::_preGetValues () } void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, uno::Any & rValue ) - throw(UnknownPropertyException, WrappedTargetException ) + throw (UnknownPropertyException, WrappedTargetException, RuntimeException) { bool bBool = true; sal_Bool bBoolVal; |