From 798c107a1afa6e22a0de97c49d0bda552913e56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 27 Oct 2016 21:47:03 +0100 Subject: [PATCH] coverity#1374310 Uncaught exception Change-Id: Ie0ae4412d42d15e2c6c52a8cb0b7b3893405a16b --- forms/source/component/File.cxx | 2 +- forms/source/component/File.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forms/source/component/File.cxx b/forms/source/component/File.cxx index 2ecbe38cc03a..497aa6bfa2d6 100644 --- a/forms/source/component/File.cxx +++ b/forms/source/component/File.cxx @@ -168,7 +168,7 @@ void OFileControlModel::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, cons sal_Bool OFileControlModel::convertFastPropertyValue(Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue) - throw( IllegalArgumentException ) + throw( IllegalArgumentException, RuntimeException, std::exception ) { switch (nHandle) { diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx index 04cd3f7e0a5d..a3888b5d14eb 100644 --- a/forms/source/component/File.hxx +++ b/forms/source/component/File.hxx @@ -57,7 +57,7 @@ public: virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) 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) override; + throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; virtual css::uno::Any getPropertyDefaultByHandle( sal_Int32 _nHandle ) const override;