diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/shlib.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index fd88e5bf1eb7..f34fa8e0a70d 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -189,7 +189,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory( } rtl::OUString name(prefix == "direct" ? implementation : uri); 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) { if (name.equalsAscii(map[i].name)) { fp = map[i].component_getFactory_function; |