summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:19:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:56:00 +0100
commit7d59a63471d91baa2e16351612180118e5dc39f0 (patch)
treedc8cf9a754aa0a58b8c9c12312e2fde5ec3a9986 /toolkit
parent1541387507e669d4c1a634d9d4254d33c151aeaa (diff)
coverity#1308539 Uncaught exception
Change-Id: Id9cad4eaccd71c769fea06d71bbfdd03e8c112ae
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/formattedcontrol.cxx2
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx2
2 files changed, 2 insertions, 2 deletions
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() );