diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-03 18:51:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-03 18:51:53 +0100 |
commit | 1b3980564f518a3bbc871307807eb151cd02ea1a (patch) | |
tree | 7067b27e460a084dff2e8607e06568324ab85de4 /i18npool | |
parent | a54f7b5ce913505c93764d4dc6bca39118457830 (diff) |
coverity#1372445 Uncaught exception
Change-Id: If28494c8727504c6f995576b59e6c79995e405a0
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/indexentrysupplier_default.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_default.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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); |