diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 17:29:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 17:29:26 +0000 |
commit | 9f90d987901f9f69e78370705a7f000f5d7d4902 (patch) | |
tree | 398f23d43f54e4f17621d9fb6f42908432608822 /i18npool | |
parent | 2dbe457fbcd99ea09e5a97b39e216e575c260cbe (diff) |
coverity#1338602 Uncaught exception
Change-Id: I81c71c02888e9c5cab28e77c1464dd5f6d4c1ee5
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 a0e9c2b92785..9bd0127ee500 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -114,7 +114,7 @@ public: 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); - virtual OUString SAL_CALL getHangingCharacters( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); + virtual OUString SAL_CALL getHangingCharacters( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception); //XServiceInfo virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 661822a830b6..4fef02042bfb 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1207,7 +1207,7 @@ LocaleDataImpl::getForbiddenCharacters( const Locale& rLocale ) throw(RuntimeExc } OUString SAL_CALL -LocaleDataImpl::getHangingCharacters( const Locale& rLocale ) throw(RuntimeException) +LocaleDataImpl::getHangingCharacters( const Locale& rLocale ) throw(RuntimeException, std::exception) { MyFunc_Type func = reinterpret_cast<MyFunc_Type>(getFunctionSymbol( rLocale, "getForbiddenCharacters" )); |