Kaydet (Commit) b4895186 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706283 Uncaught exception

Change-Id: I2c3f10894ffe514dbc71cd1dd672685aa8f09a0d
üst 0ac722cc
...@@ -298,13 +298,11 @@ namespace comphelper ...@@ -298,13 +298,11 @@ namespace comphelper
m_aDynamicProperties.getFastPropertyValue( _nHandle, _rValue ); m_aDynamicProperties.getFastPropertyValue( _nHandle, _rValue );
} }
sal_Bool SAL_CALL OPropertyBag::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw (IllegalArgumentException, UnknownPropertyException)
sal_Bool SAL_CALL OPropertyBag::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw (IllegalArgumentException)
{ {
return m_aDynamicProperties.convertFastPropertyValue( _nHandle, _rValue, _rConvertedValue, _rOldValue ); return m_aDynamicProperties.convertFastPropertyValue( _nHandle, _rValue, _rConvertedValue, _rOldValue );
} }
void SAL_CALL OPropertyBag::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception) void SAL_CALL OPropertyBag::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception)
{ {
m_aDynamicProperties.setFastPropertyValue( nHandle, rValue ); m_aDynamicProperties.setFastPropertyValue( nHandle, rValue );
......
...@@ -174,7 +174,7 @@ namespace comphelper ...@@ -174,7 +174,7 @@ namespace comphelper
// OPropertySetHelper // OPropertySetHelper
virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE; virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE;
virtual sal_Bool SAL_CALL convertFastPropertyValue( ::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rOldValue, sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE; virtual sal_Bool SAL_CALL convertFastPropertyValue( ::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rOldValue, sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (css::lang::IllegalArgumentException, css::beans::UnknownPropertyException) SAL_OVERRIDE;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE; virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
......
...@@ -576,6 +576,7 @@ protected: ...@@ -576,6 +576,7 @@ protected:
sal_Int32 nHandle, sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue ) const ::com::sun::star::uno::Any& rValue )
throw (css::lang::IllegalArgumentException, throw (css::lang::IllegalArgumentException,
css::beans::UnknownPropertyException,
css::uno::RuntimeException, std::exception) = 0; css::uno::RuntimeException, std::exception) = 0;
/** The same as setFastProperyValue; nHandle is always valid. /** The same as setFastProperyValue; nHandle is always valid.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment