From 652eb268f0902d96a359ef803c3d8ac0721ca7ac Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 24 May 2014 12:50:24 +0100 Subject: coverity#983966 Uncaught exception Change-Id: I4928d7e9c9f4cd0dd3f6b1236da9283666766a47 --- sw/source/core/uibase/inc/unomod.hxx | 4 +++- sw/source/core/uibase/uno/unomod.cxx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sw') 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; -- cgit