coverity#1398586 Uncaught exception

and

coverity#1398591 Uncaught exception

Change-Id: Id46cb66ea8e26af480234703cafd26ff7b7271f0
This commit is contained in:
Caolán McNamara 2017-01-14 11:00:33 +00:00
parent 5930cf8745
commit 44ffbca37c
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

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