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

coverity#1308539 Uncaught exception

Change-Id: Id9cad4eaccd71c769fea06d71bbfdd03e8c112ae
üst 15413875
...@@ -51,7 +51,7 @@ namespace toolkit ...@@ -51,7 +51,7 @@ namespace toolkit
::com::sun::star::uno::Any& rOldValue, ::com::sun::star::uno::Any& rOldValue,
sal_Int32 nPropId, sal_Int32 nPropId,
const ::com::sun::star::uno::Any& rValue const ::com::sun::star::uno::Any& rValue
) throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE; ) throw (::com::sun::star::lang::IllegalArgumentException, std::exception) SAL_OVERRIDE;
void SAL_CALL setFastPropertyValue_NoBroadcast( void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle, sal_Int32 nHandle,
......
...@@ -159,7 +159,7 @@ public: ...@@ -159,7 +159,7 @@ public:
// ::cppu::OPropertySetHelper // ::cppu::OPropertySetHelper
::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE = 0; ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE = 0;
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; 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, std::exception) SAL_OVERRIDE;
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; 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;
using cppu::OPropertySetHelper::getFastPropertyValue; using cppu::OPropertySetHelper::getFastPropertyValue;
void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE; void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE;
......
...@@ -327,7 +327,7 @@ namespace toolkit ...@@ -327,7 +327,7 @@ namespace toolkit
sal_Bool UnoControlFormattedFieldModel::convertFastPropertyValue( sal_Bool UnoControlFormattedFieldModel::convertFastPropertyValue(
Any& rConvertedValue, Any& rOldValue, sal_Int32 nPropId, Any& rConvertedValue, Any& rOldValue, sal_Int32 nPropId,
const Any& rValue ) throw (IllegalArgumentException) const Any& rValue ) throw (IllegalArgumentException, std::exception)
{ {
if ( BASEPROPERTY_EFFECTIVE_DEFAULT == nPropId && rValue.hasValue() ) if ( BASEPROPERTY_EFFECTIVE_DEFAULT == nPropId && rValue.hasValue() )
{ {
......
...@@ -1040,7 +1040,7 @@ sal_Bool UnoControlModel::supportsService( const OUString& rServiceName ) throw( ...@@ -1040,7 +1040,7 @@ sal_Bool UnoControlModel::supportsService( const OUString& rServiceName ) throw(
return Sequence< OUString >( &sName, 1 ); return Sequence< OUString >( &sName, 1 );
} }
sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException) sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException, std::exception)
{ {
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
......
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