summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-27 21:46:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-27 21:46:19 +0100
commitf20a45808f85ab83f7b4d5b0e1ea86d493031fef (patch)
tree317e2e9cb873439d4566bf277798a2603b3c3cbe /forms
parent7580c5e5bd8d71fea12a02d1ef554b0dea78c965 (diff)
coverity#1374311 Uncaught exception
Change-Id: I3f0e2fdfbf3c0517593ef87bc7bcbfe2ee693eef
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Time.cxx2
-rw-r--r--forms/source/component/Time.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx
index d4123042fb00..317eaad4b7ae 100644
--- a/forms/source/component/Time.cxx
+++ b/forms/source/component/Time.cxx
@@ -172,7 +172,7 @@ void SAL_CALL OTimeModel::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle
sal_Bool SAL_CALL OTimeModel::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/Time.hxx b/forms/source/component/Time.hxx
index 8c14e6c7b170..5a3f599f21b4 100644
--- a/forms/source/component/Time.hxx
+++ b/forms/source/component/Time.hxx
@@ -48,7 +48,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;
// css::lang::XServiceInfo