coverity#1374278 Uncaught exception

Change-Id: Ide557d1a3237c36067107d357ac2df6186994e10
This commit is contained in:
Caolán McNamara
2016-10-26 09:25:51 +01:00
parent 1ae7f7fcae
commit b1de670d6a
2 changed files with 3 additions and 4 deletions

View File

@@ -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)

View File

@@ -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;