diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-14 11:00:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-14 11:14:03 +0000 |
commit | 44ffbca37c93074b8574b51bffdc44b8461510df (patch) | |
tree | af98b17adbaf54d5f9cef7d2ea36c87c678de767 /filter | |
parent | 5930cf87454940a0015e9e18f154759163caf929 (diff) |
coverity#1398586 Uncaught exception
and
coverity#1398591 Uncaught exception
Change-Id: Id46cb66ea8e26af480234703cafd26ff7b7271f0
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 4 | ||||
-rw-r--r-- | 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 */ |