coverity#706267 Uncaught exception

Change-Id: I3a63546d0797c98c1720f0987293404ec760aeac
This commit is contained in:
Caolán McNamara
2014-05-28 12:58:49 +01:00
parent f730b62e26
commit 57517bbf45
2 changed files with 3 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ uno::Reference< util::XCloneable > SAL_CALL RegressionEquation::createClone()
// ____ OPropertySet ____
uno::Any RegressionEquation::GetDefaultValue( sal_Int32 nHandle ) const
throw(beans::UnknownPropertyException)
throw (beans::UnknownPropertyException, uno::RuntimeException)
{
const tPropertyValueMap& rStaticDefaults = *StaticRegressionEquationDefaults::get();
tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) );

View File

@@ -85,7 +85,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;
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;