coverity#1372386 Uncaught exception
Change-Id: Ic1fd5486e6b26718086d2f062459f11c00f244d2
This commit is contained in:
@@ -851,8 +851,7 @@ css::uno::Any SAL_CALL OPropertySetAggregationHelper::getPropertyDefault(const O
|
|||||||
return getPropertyDefaultByHandle(nHandle);
|
return getPropertyDefaultByHandle(nHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sal_Bool SAL_CALL OPropertySetAggregationHelper::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException, std::exception)
|
||||||
sal_Bool SAL_CALL OPropertySetAggregationHelper::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException)
|
|
||||||
{
|
{
|
||||||
bool bModified = false;
|
bool bModified = false;
|
||||||
|
|
||||||
@@ -872,7 +871,6 @@ sal_Bool SAL_CALL OPropertySetAggregationHelper::convertFastPropertyValue( Any&
|
|||||||
return bModified;
|
return bModified;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SAL_CALL OPropertySetAggregationHelper::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) throw ( Exception, std::exception )
|
void SAL_CALL OPropertySetAggregationHelper::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) throw ( Exception, std::exception )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( m_pForwarder->isResponsibleFor( _nHandle ), "OPropertySetAggregationHelper::setFastPropertyValue_NoBroadcast: this is no forwarded property - did you use declareForwardedProperty for it?" );
|
OSL_ENSURE( m_pForwarder->isResponsibleFor( _nHandle ), "OPropertySetAggregationHelper::setFastPropertyValue_NoBroadcast: this is no forwarded property - did you use declareForwardedProperty for it?" );
|
||||||
|
@@ -937,7 +937,7 @@ void OControlModel::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) con
|
|||||||
|
|
||||||
sal_Bool OControlModel::convertFastPropertyValue(
|
sal_Bool OControlModel::convertFastPropertyValue(
|
||||||
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
|
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
|
||||||
throw (css::lang::IllegalArgumentException)
|
throw (css::lang::IllegalArgumentException, std::exception)
|
||||||
{
|
{
|
||||||
bool bModified(false);
|
bool bModified(false);
|
||||||
switch (_nHandle)
|
switch (_nHandle)
|
||||||
@@ -1642,7 +1642,7 @@ sal_Bool OBoundControlModel::convertFastPropertyValue(
|
|||||||
Any& _rConvertedValue, Any& _rOldValue,
|
Any& _rConvertedValue, Any& _rOldValue,
|
||||||
sal_Int32 _nHandle,
|
sal_Int32 _nHandle,
|
||||||
const Any& _rValue)
|
const Any& _rValue)
|
||||||
throw (css::lang::IllegalArgumentException)
|
throw (css::lang::IllegalArgumentException, std::exception)
|
||||||
{
|
{
|
||||||
bool bModified(false);
|
bool bModified(false);
|
||||||
switch (_nHandle)
|
switch (_nHandle)
|
||||||
|
@@ -390,7 +390,7 @@ namespace frm
|
|||||||
|
|
||||||
sal_Bool OListBoxModel::convertFastPropertyValue(
|
sal_Bool OListBoxModel::convertFastPropertyValue(
|
||||||
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
|
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
|
||||||
throw (IllegalArgumentException)
|
throw (IllegalArgumentException, std::exception)
|
||||||
{
|
{
|
||||||
bool bModified(false);
|
bool bModified(false);
|
||||||
switch (_nHandle)
|
switch (_nHandle)
|
||||||
|
@@ -146,7 +146,7 @@ public:
|
|||||||
throw (css::uno::Exception, std::exception) override;
|
throw (css::uno::Exception, std::exception) override;
|
||||||
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
||||||
css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue )
|
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, std::exception) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static const ::connectivity::ORowSetValue s_aEmptyValue;
|
static const ::connectivity::ORowSetValue s_aEmptyValue;
|
||||||
|
@@ -425,7 +425,7 @@ public:
|
|||||||
virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override;
|
virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override;
|
||||||
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
||||||
css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue )
|
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, std::exception) override;
|
||||||
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
|
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
|
||||||
throw (css::uno::Exception, std::exception) override;
|
throw (css::uno::Exception, std::exception) override;
|
||||||
using ::cppu::OPropertySetHelper::getFastPropertyValue;
|
using ::cppu::OPropertySetHelper::getFastPropertyValue;
|
||||||
@@ -1002,7 +1002,7 @@ public:
|
|||||||
virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override;
|
virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override;
|
||||||
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
||||||
css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue )
|
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, std::exception) override;
|
||||||
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
|
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
|
||||||
throw (css::uno::Exception, std::exception) override;
|
throw (css::uno::Exception, std::exception) override;
|
||||||
using ::cppu::OPropertySetHelper::getFastPropertyValue;
|
using ::cppu::OPropertySetHelper::getFastPropertyValue;
|
||||||
|
@@ -247,7 +247,7 @@ public:
|
|||||||
/** only implemented for "forwarded" properties, every other property must be handled
|
/** only implemented for "forwarded" properties, every other property must be handled
|
||||||
in the derivee, and will assert if passed herein
|
in the derivee, and will assert if passed herein
|
||||||
*/
|
*/
|
||||||
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;
|
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, std::exception) override;
|
||||||
|
|
||||||
/** only implemented for "forwarded" properties, every other property must be handled
|
/** only implemented for "forwarded" properties, every other property must be handled
|
||||||
in the derivee, and will assert if passed herein
|
in the derivee, and will assert if passed herein
|
||||||
|
Reference in New Issue
Block a user