From 44ffbca37c93074b8574b51bffdc44b8461510df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 14 Jan 2017 11:00:33 +0000 Subject: [PATCH] coverity#1398586 Uncaught exception and coverity#1398591 Uncaught exception Change-Id: Id46cb66ea8e26af480234703cafd26ff7b7271f0 --- filter/source/config/cache/filtercache.cxx | 4 ++-- filter/source/config/cache/filtercache.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 671b0ba5b212..5b0d6dbd495b 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -1603,7 +1603,7 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container:: EItemType eType , const OUString& sItem , EReadOption eOption) - throw(css::uno::Exception) + throw(css::uno::Exception, std::exception) { // try to get an API object, which points directly to the // requested item. If it fail an exception should occur and @@ -2167,7 +2167,7 @@ void FilterCache::impl_readOldFormat() CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::container::XNameAccess >& xSet , EItemType eType, const OUString& sItem) - throw(css::uno::Exception) + throw(css::uno::Exception, std::exception) { css::uno::Reference< css::container::XNameAccess > xItem; xSet->getByName(sItem) >>= xItem; diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index 650f996b11f7..d2bd7ad8b199 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -771,7 +771,7 @@ class FilterCache : public BaseLock EItemType eType , const OUString& sItem , EReadOption eOption) - throw(css::uno::Exception); + throw(css::uno::Exception, std::exception); /** @short try to load the requested item on demand from the underlying configuration @@ -876,7 +876,7 @@ class FilterCache : public BaseLock CacheItem impl_readOldItem(const css::uno::Reference< css::container::XNameAccess >& xSet , EItemType eType, const OUString& sItem) - throw(css::uno::Exception); + throw(css::uno::Exception, std::exception); /** TODO */