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

coverity#706261 Uncaught exception

Change-Id: Ife4d1e828cc2b52c54e425ec7af533ebdacd0f1e
üst c4415f16
...@@ -66,7 +66,8 @@ protected: ...@@ -66,7 +66,8 @@ protected:
may throw an UnknownPropertyException. may throw an UnknownPropertyException.
*/ */
virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const 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 /** The InfoHelper table contains all property names and types of
this object. this object.
......
...@@ -591,7 +591,7 @@ void Axis::fireModifyEvent() ...@@ -591,7 +591,7 @@ void Axis::fireModifyEvent()
// ____ OPropertySet ____ // ____ OPropertySet ____
uno::Any Axis::GetDefaultValue( sal_Int32 nHandle ) const uno::Any Axis::GetDefaultValue( sal_Int32 nHandle ) const
throw(beans::UnknownPropertyException) throw (beans::UnknownPropertyException, uno::RuntimeException)
{ {
const tPropertyValueMap& rStaticDefaults = *StaticAxisDefaults::get(); const tPropertyValueMap& rStaticDefaults = *StaticAxisDefaults::get();
tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) ); tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) );
......
...@@ -77,7 +77,8 @@ protected: ...@@ -77,7 +77,8 @@ protected:
// ____ OPropertySet ____ // ____ OPropertySet ____
virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const 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 ____ // ____ OPropertySet ____
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE; virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;
......
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