diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 09:35:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 09:56:30 +0100 |
commit | 95af8bfcdff3d81770c24df49f3cdd07498d3563 (patch) | |
tree | ad462600bb52076ceda25bab20f19628ff0e37cd /forms/source | |
parent | 8ee0932466ba60e42a245bdbd673323c7e12b132 (diff) |
coverity#1374286 Uncaught exception
Change-Id: Ied3abcd1f2bd7754e3861905f441c46f828f7f5d
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/Button.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/Button.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 45f22e9c0244..d5c4b8e9221b 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -279,7 +279,7 @@ void SAL_CALL OButtonModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle } -sal_Bool SAL_CALL OButtonModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw (IllegalArgumentException) +sal_Bool SAL_CALL OButtonModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw (IllegalArgumentException, RuntimeException, std::exception) { bool bModified = false; switch ( _nHandle ) diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx index bea42b75c2f7..d315c0f24043 100644 --- a/forms/source/component/Button.hxx +++ b/forms/source/component/Button.hxx @@ -82,7 +82,7 @@ public: 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; // OComponentHelper |