From 8e2ba391e4b78f361f9c5f189197680872fb48a9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 31 Aug 2016 21:52:40 +0100 Subject: coverity#1372397 Uncaught exception Change-Id: I5baed239582f91a30c451eb26c46ea9bf33c92a4 --- i18npool/inc/indexentrysupplier_default.hxx | 2 +- i18npool/source/indexentry/indexentrysupplier_default.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'i18npool') diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx index d53bda5afc18..e9ffbd0769ef 100644 --- a/i18npool/inc/indexentrysupplier_default.hxx +++ b/i18npool/inc/indexentrysupplier_default.hxx @@ -86,7 +86,7 @@ public: void init(const css::lang::Locale& rLocale, const OUString& algorithm) throw (css::uno::RuntimeException); - void makeIndexKeys(const css::lang::Locale &rLocale, const OUString &algorithm) throw (css::uno::RuntimeException); + void makeIndexKeys(const css::lang::Locale &rLocale, const OUString &algorithm) throw (css::uno::RuntimeException, std::exception); sal_Int16 getIndexWeight(const OUString& rIndexEntry); OUString getIndexDescription(const OUString& rIndexEntry); diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index aae0e7436914..9cfbc9f711be 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -165,7 +165,7 @@ OUString Index::getIndexDescription(const OUString& rIndexEntry) #define LOCALE_EN lang::Locale(OUString("en"), OUString(), OUString()) -void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm) throw (RuntimeException) +void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm) throw (RuntimeException, std::exception) { OUString keyStr = LocaleDataImpl::get()->getIndexKeysByAlgorithm(rLocale, algorithm); -- cgit