diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 15:07:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 16:08:04 +0100 |
commit | 668ed132188d30a73607129c95372d17fa90544d (patch) | |
tree | 3ff1339802289d0ac52c1bccf2ec0532a1603694 | |
parent | bdb59b76f1d7fcfdecbd5973165b910ab6a1fa81 (diff) |
coverity#1038491 Uncaught exception
Change-Id: Iacc0ef25b4fad7a28d52d4cfd620d00190cdd974
-rw-r--r-- | sw/source/uibase/inc/unomod.hxx | 8 | ||||
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx index 5c797b26d76c..064291ce6b7a 100644 --- a/sw/source/uibase/inc/unomod.hxx +++ b/sw/source/uibase/inc/unomod.hxx @@ -144,8 +144,12 @@ protected: css::uno::RuntimeException) SAL_OVERRIDE; virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) 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 _postSetValues () - 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 _postSetValues() + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _preGetValues () throw (css::beans::UnknownPropertyException, diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index da6aef9ce862..0153a60f4743 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -786,8 +786,10 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c } } -void SwXViewSettings::_postSetValues () - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +void SwXViewSettings::_postSetValues() + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException ) { if( pView ) { |