Kaydet (Commit) 3aac1ebd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing initialization

Change-Id: I177da4fbe87eacfb86b6196df3d023218b1c9012
üst 023e4992
...@@ -189,7 +189,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory( ...@@ -189,7 +189,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory(
} }
rtl::OUString name(prefix == "direct" ? implementation : uri); rtl::OUString name(prefix == "direct" ? implementation : uri);
lib_to_factory_mapping const * map = lo_get_factory_map(); lib_to_factory_mapping const * map = lo_get_factory_map();
component_getFactoryFunc fp; component_getFactoryFunc fp = 0;
for (int i = 0; map[i].name != 0; ++i) { for (int i = 0; map[i].name != 0; ++i) {
if (name.equalsAscii(map[i].name)) { if (name.equalsAscii(map[i].name)) {
fp = map[i].component_getFactory_function; fp = map[i].component_getFactory_function;
......
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