diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-27 21:41:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-27 21:41:47 +0100 |
commit | 3cc1a10c7b98c82d209108a59e10000f6ec3dcdc (patch) | |
tree | c0b9ee1096363b95816f86e26b9b8e351568d9f5 /forms | |
parent | 2d96f3a582383205cd2f891b1001b11970cec316 (diff) |
coverity#1374313 Uncaught exception
Change-Id: I9562deb23324f44b16735b0d376b4c37e20c58c1
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Date.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/Date.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx index 1c1f6c0bac31..e4f9874604be 100644 --- a/forms/source/component/Date.cxx +++ b/forms/source/component/Date.cxx @@ -181,7 +181,7 @@ void SAL_CALL ODateModel::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle sal_Bool SAL_CALL ODateModel::convertFastPropertyValue(Any& _rConvertedValue, Any& _rOldValue, - sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException) + sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException, RuntimeException, std::exception) { if (PROPERTY_ID_FORMATKEY == _nHandle) return convertFormatKeyPropertyValue(_rConvertedValue, _rOldValue, _rValue); diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx index 401e652aa596..b819016a7396 100644 --- a/forms/source/component/Date.hxx +++ b/forms/source/component/Date.hxx @@ -47,7 +47,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) 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; // XServiceInfo |