diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:52:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | 8e2ba391e4b78f361f9c5f189197680872fb48a9 (patch) | |
tree | 9f08696b3515101b00d4090e7a579583ee716d47 /i18npool | |
parent | de32f503202be634d8de95744d4942d74a4a9511 (diff) |
coverity#1372397 Uncaught exception
Change-Id: I5baed239582f91a30c451eb26c46ea9bf33c92a4
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 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); |