summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-10 08:59:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-10 08:59:07 +0000
commit001f85ffa45d0a46b3eea48a5c60597ea03afd42 (patch)
tree2048efbad921165b04a6ca9569532bb90ca3d0da /i18npool
parent52f6b1f49e29d1398be70561701d798502e57f3c (diff)
coverity#1398526 Uncaught exception
Change-Id: I6b1d5b0049ec744ed87e13300e1f01a94f88202c
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/inc/localedata.hxx2
-rw-r--r--i18npool/source/localedata/localedata.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index ae33218583d3..636b6275535a 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -132,7 +132,7 @@ private:
getCalendarItemByName(const OUString& name,
const css::lang::Locale& rLocale,
const css::uno::Sequence< css::i18n::Calendar2 >& calendarsSeq,
- sal_Int16 item) throw( css::uno::RuntimeException );
+ sal_Int16 item) throw( css::uno::RuntimeException, std::exception );
/// Helper to obtain a sequence of days, months, gmonths or eras.
css::uno::Sequence< css::i18n::CalendarItem2 > getCalendarItems(
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index e2b9aa674793..f57b953f74b0 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -601,7 +601,7 @@ oslGenericFunction SAL_CALL lcl_LookupTableHelper::getFunctionSymbolByName(
Sequence< CalendarItem2 > &LocaleDataImpl::getCalendarItemByName(const OUString& name,
const Locale& rLocale, const Sequence< Calendar2 >& calendarsSeq, sal_Int16 item)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if (!ref_name.equals(name)) {
OUString aLocStr, id;