From 668ed132188d30a73607129c95372d17fa90544d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jun 2014 15:07:05 +0100 Subject: coverity#1038491 Uncaught exception Change-Id: Iacc0ef25b4fad7a28d52d4cfd620d00190cdd974 --- sw/source/uibase/inc/unomod.hxx | 8 ++++++-- 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 ) { -- cgit