Kaydet (Commit) 35ec045f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Don't try to preload the KDE4 shell backend as that crashes

Change-Id: I1c1ff4ec7cda00a76bdeb018366afed2187c7ef8
üst f9f830ac
......@@ -1838,6 +1838,13 @@ void cppuhelper::ServiceManager::preloadImplementations() {
if (iterator->second->info->loader == "com.sun.star.loader.SharedLibrary" &&
iterator->second->status != Data::Implementation::STATUS_LOADED)
{
// Blacklist some components that are known to fail
if (iterator->second->info->name == "com.sun.star.comp.configuration.backend.KDE4Backend")
{
SAL_INFO("cppuhelper.preload", "Skipping " << iterator->second->info->name);
continue;
}
// load component library
SAL_INFO("cppuhelper.preload", "Loading " << aUri << " for " << iterator->second->info->name);
osl::Module aModule(aUri, SAL_LOADMODULE_NOW | SAL_LOADMODULE_GLOBAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment