coverity#1398526 Uncaught exception

Change-Id: I6b1d5b0049ec744ed87e13300e1f01a94f88202c
This commit is contained in:
Caolán McNamara
2017-01-10 08:59:07 +00:00
parent 52f6b1f49e
commit 001f85ffa4
2 changed files with 2 additions and 2 deletions

View File

@@ -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(

View File

@@ -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;