From 7d59a63471d91baa2e16351612180118e5dc39f0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jun 2015 17:19:37 +0100 Subject: coverity#1308539 Uncaught exception Change-Id: Id9cad4eaccd71c769fea06d71bbfdd03e8c112ae --- toolkit/source/controls/formattedcontrol.cxx | 2 +- toolkit/source/controls/unocontrolmodel.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 2a002ec46677..bd2b7b56cf4e 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -327,7 +327,7 @@ namespace toolkit sal_Bool UnoControlFormattedFieldModel::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, sal_Int32 nPropId, - const Any& rValue ) throw (IllegalArgumentException) + const Any& rValue ) throw (IllegalArgumentException, std::exception) { if ( BASEPROPERTY_EFFECTIVE_DEFAULT == nPropId && rValue.hasValue() ) { diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 6babb44ced15..371751a1d886 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1040,7 +1040,7 @@ sal_Bool UnoControlModel::supportsService( const OUString& rServiceName ) throw( return Sequence< OUString >( &sName, 1 ); } -sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException) +sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); -- cgit