diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 09:25:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 09:56:30 +0100 |
commit | b1de670d6a39db535b945cbc04718a44bfd3cf19 (patch) | |
tree | e81ce4446f8d1bf25c67a326c599ac8b8899aec6 | |
parent | 1ae7f7fcae2d1c3f1aced2fbb1cf86453722e9a1 (diff) |
coverity#1374278 Uncaught exception
Change-Id: Ide557d1a3237c36067107d357ac2df6186994e10
-rw-r--r-- | forms/source/component/EditBase.cxx | 5 | ||||
-rw-r--r-- | forms/source/component/EditBase.hxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/forms/source/component/EditBase.cxx b/forms/source/component/EditBase.cxx index b44505cee585..3cde33ea2b20 100644 --- a/forms/source/component/EditBase.cxx +++ b/forms/source/component/EditBase.cxx @@ -291,9 +291,9 @@ void OEditBaseModel::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) cons } } - sal_Bool OEditBaseModel::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, - sal_Int32 nHandle, const Any& rValue ) throw( IllegalArgumentException ) + sal_Int32 nHandle, const Any& rValue ) + throw( IllegalArgumentException, RuntimeException, std::exception ) { bool bModified(false); switch (nHandle) @@ -326,7 +326,6 @@ sal_Bool OEditBaseModel::convertFastPropertyValue( Any& rConvertedValue, Any& rO return bModified; } - void OEditBaseModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw ( css::uno::Exception, std::exception) { switch (nHandle) diff --git a/forms/source/component/EditBase.hxx b/forms/source/component/EditBase.hxx index 569b42240f77..07605ac0e4ee 100644 --- a/forms/source/component/EditBase.hxx +++ b/forms/source/component/EditBase.hxx @@ -76,7 +76,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; using ::cppu::OPropertySetHelper::getFastPropertyValue; |