diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-03-30 19:28:32 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-03-30 19:28:32 +0200 |
commit | 5dba43b4c5927872e9e96815187033bdccc775bc (patch) | |
tree | c45990ed4f946ca85edf94730a5bb1d6a45b2b1a /filter/source/config/cache/filtercache.cxx | |
parent | 00058a58b6229c960acc7af1d084d7a49c534913 (diff) |
warning-return-values-filter.diff: avoid warning (i#58977)
the code was correct; it was wrongly detected by some gcc versions;
the warning was considered as an error in openSUSE build service;
the change does not cause any harm;
Diffstat (limited to 'filter/source/config/cache/filtercache.cxx')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index ad357fd6e9f3..07518dd2d0a9 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -810,10 +810,10 @@ CacheItemList& FilterCache::impl_getItemList(EItemType eType) const case E_CONTENTHANDLER : return m_lContentHandlers; case E_DETECTSERVICE : return m_lDetectServices ; - default : throw css::uno::Exception(::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "unknown sub container requested." )), - css::uno::Reference< css::uno::XInterface >() ); } + throw css::uno::Exception(::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "unknown sub container requested." )), + css::uno::Reference< css::uno::XInterface >() ); // <- SAFE ---------------------------------- } |