diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 17:32:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 17:32:54 +0000 |
commit | e660a0515889ce42e95c57af8c3815a1afc2f1dc (patch) | |
tree | d84ba8d2d689a74a697c3cc5e1c6ea040f973c89 /i18npool | |
parent | 2d30f347ccdc4539a695f04d91a3706d02a857e1 (diff) |
coverity#1338597 Uncaught exception
Change-Id: I1bcb4a70a2b2621a8718e5d4d0741e8eed3848cf
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/localedata.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<MyFunc_Type>(getFunctionSymbol( rLocale, "getUnicodeScripts" )); |