summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/inc/localedata.hxx2
-rw-r--r--i18npool/source/localedata/localedata.cxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index 636b6275535a..58e1f798a1f6 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -142,7 +142,7 @@ private:
const sal_Int16 nCalendar,
const css::lang::Locale & rLocale,
const css::uno::Sequence< css::i18n::Calendar2 > & calendarsSeq )
- throw( css::uno::RuntimeException );
+ throw( css::uno::RuntimeException, std::exception );
};
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index f57b953f74b0..1051e1175e87 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -657,12 +657,11 @@ Sequence< CalendarItem2 > &LocaleDataImpl::getCalendarItemByName(const OUString&
}
}
-
Sequence< CalendarItem2 > LocaleDataImpl::getCalendarItems(
sal_Unicode const * const * const allCalendars, sal_Int16 & rnOffset,
const sal_Int16 nWhichItem, const sal_Int16 nCalendar,
const Locale & rLocale, const Sequence< Calendar2 > & calendarsSeq )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
Sequence< CalendarItem2 > aItems;
if ( OUString( allCalendars[rnOffset] ) == "ref" )
@@ -706,7 +705,6 @@ Sequence< CalendarItem2 > LocaleDataImpl::getCalendarItems(
return aItems;
}
-
Sequence< Calendar2 > SAL_CALL
LocaleDataImpl::getAllCalendars2( const Locale& rLocale ) throw(RuntimeException, std::exception)
{