summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 12:42:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-28 13:49:50 +0100
commitf2829946263fffa830af06c32c1027e9b0962907 (patch)
treeb1d1bb9615d8f6b1d135885414fe1d0b1e14a69c /chart2/source/model
parentc4415f16fbb68ddd09c61ce3fcdf2c72b0da76a7 (diff)
coverity#706261 Uncaught exception
Change-Id: Ife4d1e828cc2b52c54e425ec7af533ebdacd0f1e
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/main/Axis.cxx2
-rw-r--r--chart2/source/model/main/Axis.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index c3c1e65a0dd3..151e658509be 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -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 ) );
diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx
index e2e20168797c..e414789c457a 100644
--- a/chart2/source/model/main/Axis.hxx
+++ b/chart2/source/model/main/Axis.hxx
@@ -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;