From 0b069a35d338d3492ffcc1830cdee32f508cd81e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 26 Oct 2016 09:19:55 +0100 Subject: [PATCH] coverity#1374272 Uncaught exception Change-Id: Iea7cb5d35e78b89398e8aca7bbdbd17015cb7120 --- forms/source/component/FormComponent.cxx | 2 +- forms/source/inc/FormComponent.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 430aeff296cc..de1d7a51161e 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -1642,7 +1642,7 @@ sal_Bool OBoundControlModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue) - throw (css::lang::IllegalArgumentException, std::exception) + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { bool bModified(false); switch (_nHandle) diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index f9d0607dcd1f..575aee78cdac 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -1002,7 +1002,7 @@ public: virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override; virtual sal_Bool SAL_CALL convertFastPropertyValue( css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue ) - throw (css::lang::IllegalArgumentException, std::exception) override; + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception) override; using ::cppu::OPropertySetHelper::getFastPropertyValue;