diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-27 21:47:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-27 21:47:03 +0100 |
commit | 798c107a1afa6e22a0de97c49d0bda552913e56a (patch) | |
tree | 0f0e0b1c51d945933ddef08089cf5a5fa65c8507 | |
parent | f20a45808f85ab83f7b4d5b0e1ea86d493031fef (diff) |
coverity#1374310 Uncaught exception
Change-Id: Ie0ae4412d42d15e2c6c52a8cb0b7b3893405a16b
-rw-r--r-- | forms/source/component/File.cxx | 2 | ||||
-rw-r--r-- | 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; |