From ce6eed613cb2bd79a66cf9c10e3370fcb4949c6d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 11 Nov 2015 17:30:09 +0000 Subject: coverity#1338601 Uncaught exception Change-Id: I255273601fd460b22aa22e3e366dc040e0795a87 --- 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 9bd0127ee500..7e1e2afcb165 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -99,7 +99,7 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSearchOptions( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getCollationOptions( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< css::uno::Sequence< beans::PropertyValue > > SAL_CALL getContinuousNumberingLevels( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); + virtual css::uno::Sequence< css::uno::Sequence< beans::PropertyValue > > SAL_CALL getContinuousNumberingLevels( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception); virtual css::uno::Sequence< css::uno::Reference< container::XIndexAccess > > SAL_CALL getOutlineNumberingLevels( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException); // XLocaleData4 diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 4fef02042bfb..7c6970d3dfee 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1265,7 +1265,7 @@ LocaleDataImpl::getReservedWord( const Locale& rLocale ) throw(RuntimeException Sequence< Sequence > SAL_CALL -LocaleDataImpl::getContinuousNumberingLevels( const lang::Locale& rLocale ) throw(RuntimeException) +LocaleDataImpl::getContinuousNumberingLevels( const lang::Locale& rLocale ) throw(RuntimeException, std::exception) { // load symbol MyFunc_Type2 func = reinterpret_cast(getFunctionSymbol( rLocale, "getContinuousNumberingLevels" )); -- cgit