Revert "coverity#1169848 Uncaught exception"

This reverts commit b0a7722ebf, now that
fced31697b "comphelper::SequenceAsHashMap: throw
IllegalArgumentException" made the underlying problem go away.

Conflicts:
	framework/source/services/modulemanager.cxx

Change-Id: I6599cf25d4f28d2bab19da67d5de5caacd84a622
This commit is contained in:
Stephan Bergmann
2014-11-19 18:36:49 +01:00
parent 5252652ac5
commit 9dc7bae64d

View File

@@ -234,8 +234,6 @@ void SAL_CALL ModuleManager::replaceByName(const OUString& sName ,
css::container::NoSuchElementException,
css::lang::WrappedTargetException ,
css::uno::RuntimeException, std::exception )
{
try
{
::comphelper::SequenceAsHashMap lProps(aValue);
if (lProps.empty() )
@@ -281,14 +279,6 @@ void SAL_CALL ModuleManager::replaceByName(const OUString& sName ,
::comphelper::ConfigurationHelper::flush(xCfg);
}
catch (const css::beans::IllegalTypeException& e)
{
css::uno::Any a(e);
throw css::lang::WrappedTargetException(
OUString("ModuleManager::replaceByName: IllegalType exception"),
css::uno::Reference<css::uno::XInterface>(*this), a);
}
}
css::uno::Any SAL_CALL ModuleManager::getByName(const OUString& sName)
throw(css::container::NoSuchElementException,