Revert "coverity#1169848 Uncaught exception"
This reverts commitb0a7722ebf
, now thatfced31697b
"comphelper::SequenceAsHashMap: throw IllegalArgumentException" made the underlying problem go away. Conflicts: framework/source/services/modulemanager.cxx Change-Id: I6599cf25d4f28d2bab19da67d5de5caacd84a622
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user