summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18npool/inc/indexentrysupplier_default.hxx2
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_default.cxx2
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);