summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 12:53:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-28 13:49:51 +0100
commitf730b62e26455e00f44ac59cb12a89388958e088 (patch)
tree4ccb08475c891fcb9b68aca6071334a800464390 /chart2
parent008998decc5891b7e2e05a53678ef0a11ced9470 (diff)
coverity#706265 Uncaught exception
Change-Id: I85c77236cd0a3cd791902a3978ea4e13606cea6c
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/model/main/FormattedString.cxx2
-rw-r--r--chart2/source/model/main/FormattedString.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx
index 95b709fc9d1d..21e0a9db7601 100644
--- a/chart2/source/model/main/FormattedString.cxx
+++ b/chart2/source/model/main/FormattedString.cxx
@@ -210,7 +210,7 @@ Sequence< OUString > FormattedString::getSupportedServiceNames_Static()
// ____ OPropertySet ____
uno::Any FormattedString::GetDefaultValue( sal_Int32 nHandle ) const
- throw(beans::UnknownPropertyException)
+ throw (beans::UnknownPropertyException, uno::RuntimeException)
{
const tPropertyValueMap& rStaticDefaults = *StaticFormattedStringDefaults::get();
tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) );
diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx
index 20adb06b7028..b62c82c5283b 100644
--- a/chart2/source/model/main/FormattedString.hxx
+++ b/chart2/source/model/main/FormattedString.hxx
@@ -88,7 +88,8 @@ protected:
// ____ OPropertySet ____
virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
- throw(css::beans::UnknownPropertyException) SAL_OVERRIDE;
+ throw (css::beans::UnknownPropertyException,
+ css::uno::RuntimeException) SAL_OVERRIDE;
// ____ OPropertySet ____
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;