coverity#1398586 Uncaught exception
and coverity#1398591 Uncaught exception Change-Id: Id46cb66ea8e26af480234703cafd26ff7b7271f0
This commit is contained in:
parent
5930cf8745
commit
44ffbca37c
4
filter/source/config/cache/filtercache.cxx
vendored
4
filter/source/config/cache/filtercache.cxx
vendored
@ -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;
|
||||
|
4
filter/source/config/cache/filtercache.hxx
vendored
4
filter/source/config/cache/filtercache.hxx
vendored
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user