summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:20:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 09:20:56 +0000
commitf24b5132ebca9f1103de8cfc022d184ac59eb48e (patch)
tree8e36fe27e73e4a16890698b1d68d5729d16c3968
parent455539173918650c163f814ffb93f5ede1f021a8 (diff)
coverity#1338234 Uncaught exception
Change-Id: Ice269b722e219ae7b51aa6ea11dea93cfd31f413
-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 b45ece567aeb..a0e9c2b92785 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -128,7 +128,7 @@ private:
css::i18n::Calendar2 ref_cal;
OUString ref_name;
- oslGenericFunction SAL_CALL getFunctionSymbol( const css::lang::Locale& rLocale, const sal_Char* pFunction ) throw( css::uno::RuntimeException );
+ oslGenericFunction SAL_CALL getFunctionSymbol( const css::lang::Locale& rLocale, const sal_Char* pFunction ) throw( css::uno::RuntimeException, std::exception );
sal_Unicode ** SAL_CALL getIndexArray(const css::lang::Locale& rLocale, sal_Int16& indexCount);
sal_Unicode ** SAL_CALL getIndexArrayForAlgorithm(const css::lang::Locale& rLocale, const OUString& rAlgorithm);
css::uno::Sequence< css::i18n::CalendarItem2 > &
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index a3ee8c19ca31..f0ceb8b4e8a1 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1442,7 +1442,7 @@ LocaleDataImpl::getOutlineNumberingLevels( const lang::Locale& rLocale ) throw(R
// helper functions
oslGenericFunction SAL_CALL LocaleDataImpl::getFunctionSymbol( const Locale& rLocale, const sal_Char* pFunction )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
lcl_LookupTableHelper & rLookupTable = lcl_LookupTableStatic::get();