summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;