From 1b3980564f518a3bbc871307807eb151cd02ea1a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 3 Sep 2016 18:51:53 +0100 Subject: coverity#1372445 Uncaught exception Change-Id: If28494c8727504c6f995576b59e6c79995e405a0 --- 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 e9ffbd0769ef..79934b2016d3 100644 --- a/i18npool/inc/indexentrysupplier_default.hxx +++ b/i18npool/inc/indexentrysupplier_default.hxx @@ -84,7 +84,7 @@ public: Index(const css::uno::Reference < css::uno::XComponentContext >& rxContext); ~Index(); - void init(const css::lang::Locale& rLocale, const OUString& algorithm) throw (css::uno::RuntimeException); + void init(const css::lang::Locale& rLocale, const OUString& algorithm) throw (css::uno::RuntimeException, std::exception); void makeIndexKeys(const css::lang::Locale &rLocale, const OUString &algorithm) throw (css::uno::RuntimeException, std::exception); sal_Int16 getIndexWeight(const OUString& rIndexEntry); diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 9cfbc9f711be..2c902cf002b7 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -251,7 +251,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm } } -void Index::init(const lang::Locale &rLocale, const OUString& algorithm) throw (RuntimeException) +void Index::init(const lang::Locale &rLocale, const OUString& algorithm) throw (RuntimeException, std::exception) { makeIndexKeys(rLocale, algorithm); -- cgit