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 */