From e660a0515889ce42e95c57af8c3815a1afc2f1dc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 11 Nov 2015 17:32:54 +0000 Subject: coverity#1338597 Uncaught exception Change-Id: I1bcb4a70a2b2621a8718e5d4d0741e8eed3848cf --- i18npool/inc/localedata.hxx | 2 +- i18npool/source/localedata/localedata.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'i18npool') diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index 365ae37796ff..300e75602463 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -110,7 +110,7 @@ public: virtual OUString SAL_CALL getDefaultIndexAlgorithm( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); virtual OUString SAL_CALL getIndexKeysByAlgorithm( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException); virtual OUString SAL_CALL getIndexModuleByAlgorithm( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException); - virtual css::uno::Sequence< UnicodeScript > SAL_CALL getUnicodeScripts( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); + virtual css::uno::Sequence< UnicodeScript > SAL_CALL getUnicodeScripts( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception); virtual css::uno::Sequence< OUString > SAL_CALL getFollowPageWords( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); virtual bool SAL_CALL hasPhonetic( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); virtual bool SAL_CALL isPhonetic( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException); diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 46a88745d401..318a34d4b2c9 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1102,7 +1102,7 @@ LocaleDataImpl::getIndexModuleByAlgorithm( const Locale& rLocale, const OUString } Sequence< UnicodeScript > SAL_CALL -LocaleDataImpl::getUnicodeScripts( const Locale& rLocale ) throw(RuntimeException) +LocaleDataImpl::getUnicodeScripts( const Locale& rLocale ) throw(RuntimeException, std::exception) { MyFunc_Type func = reinterpret_cast(getFunctionSymbol( rLocale, "getUnicodeScripts" )); -- cgit