summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 12:47:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-28 13:49:51 +0100
commit008998decc5891b7e2e05a53678ef0a11ced9470 (patch)
tree6da56d6fa2e77757c578eea091aacc1a8d90f047 /chart2/source/model
parentf2829946263fffa830af06c32c1027e9b0962907 (diff)
coverity#706264 Uncaught exception
Change-Id: Ia197a0de24a282bbfcbfc80ee283f530ac12c287
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/inc/DataSeries.hxx3
-rw-r--r--chart2/source/model/main/DataSeries.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/model/inc/DataSeries.hxx b/chart2/source/model/inc/DataSeries.hxx
index 214567b4eb54..22878fcc029a 100644
--- a/chart2/source/model/inc/DataSeries.hxx
+++ b/chart2/source/model/inc/DataSeries.hxx
@@ -112,7 +112,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 void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast
( sal_Int32 nHandle,
diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx
index 65dba5e671bd..f97f31035568 100644
--- a/chart2/source/model/main/DataSeries.cxx
+++ b/chart2/source/model/main/DataSeries.cxx
@@ -243,7 +243,8 @@ Sequence< OUString > DataSeries::getSupportedServiceNames_Static()
// ____ OPropertySet ____
uno::Any DataSeries::GetDefaultValue( sal_Int32 nHandle ) const
- throw(beans::UnknownPropertyException)
+ throw (beans::UnknownPropertyException,
+ uno::RuntimeException)
{
const tPropertyValueMap& rStaticDefaults = StaticDataSeriesDefaults::get();
tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) );