diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 10:29:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 10:56:16 +0100 |
commit | 1271ac20d4041eb1ae72d20f0fc6a3fbee998e5e (patch) | |
tree | fe2e9594ca6b4e618aaa6b44ada79df6d84c0323 /chart2 | |
parent | 612ab9b4f7f0d9aeb43524f2cebed11b752bf061 (diff) |
coverity#706266 Uncaught exception
Change-Id: Iba3d2b8cddcd9e0f228d5b9fef1ce3290047c8b0
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/Legend.cxx | 2 | ||||
-rw-r--r-- | chart2/source/model/main/Legend.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx index 3dac3c48ab0b..a0d885c09b6d 100644 --- a/chart2/source/model/main/Legend.cxx +++ b/chart2/source/model/main/Legend.cxx @@ -279,7 +279,7 @@ Sequence< OUString > Legend::getSupportedServiceNames_Static() // ____ OPropertySet ____ Any Legend::GetDefaultValue( sal_Int32 nHandle ) const - throw(beans::UnknownPropertyException) + throw (beans::UnknownPropertyException, uno::RuntimeException) { const tPropertyValueMap& rStaticDefaults = *StaticLegendDefaults::get(); tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) ); diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx index 59cd90764608..19d4a218d921 100644 --- a/chart2/source/model/main/Legend.hxx +++ b/chart2/source/model/main/Legend.hxx @@ -72,7 +72,7 @@ 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; |