coverity#706261 Uncaught exception

Change-Id: Ife4d1e828cc2b52c54e425ec7af533ebdacd0f1e
This commit is contained in:
Caolán McNamara
2014-05-28 12:42:06 +01:00
parent c4415f16fb
commit f282994626
3 changed files with 5 additions and 3 deletions

View File

@@ -66,7 +66,8 @@ protected:
may throw an UnknownPropertyException.
*/
virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
throw(::com::sun::star::beans::UnknownPropertyException) = 0;
throw (css::beans::UnknownPropertyException,
css::uno::RuntimeException) = 0;
/** The InfoHelper table contains all property names and types of
this object.

View File

@@ -591,7 +591,7 @@ void Axis::fireModifyEvent()
// ____ OPropertySet ____
uno::Any Axis::GetDefaultValue( sal_Int32 nHandle ) const
throw(beans::UnknownPropertyException)
throw (beans::UnknownPropertyException, uno::RuntimeException)
{
const tPropertyValueMap& rStaticDefaults = *StaticAxisDefaults::get();
tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) );

View File

@@ -77,7 +77,8 @@ protected:
// ____ OPropertySet ____
virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
throw(::com::sun::star::beans::UnknownPropertyException) SAL_OVERRIDE;
throw (css::beans::UnknownPropertyException,
css::uno::RuntimeException) SAL_OVERRIDE;
// ____ OPropertySet ____
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;