diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 12:58:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 13:49:51 +0100 |
commit | 57517bbf45ef9dc16a7e17f6c9350a9f9f367014 (patch) | |
tree | 4233b302586326dc3df9c6bda943a02f4fb2ae82 /chart2 | |
parent | f730b62e26455e00f44ac59cb12a89388958e088 (diff) |
coverity#706267 Uncaught exception
Change-Id: I3a63546d0797c98c1720f0987293404ec760aeac
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/RegressionEquation.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/RegressionEquation.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx index bbf2f3f2ee81..8bc63a91a33a 100644 --- a/chart2/source/tools/RegressionEquation.cxx +++ b/chart2/source/tools/RegressionEquation.cxx @@ -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 ) ); diff --git a/chart2/source/tools/RegressionEquation.hxx b/chart2/source/tools/RegressionEquation.hxx index de2b4d2e17f2..0fe9798acb8b 100644 --- a/chart2/source/tools/RegressionEquation.hxx +++ b/chart2/source/tools/RegressionEquation.hxx @@ -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; |