Kaydet (Commit) 7f73ea2e authored tarafından David Tardon's avatar David Tardon

tdf#96243 don't crash if LibO install. wasn't found

Change-Id: I538e7238feb711a7d71faf745033264894f688f4
üst 573cd289
......@@ -220,6 +220,8 @@ static LibreOfficeKit *lok_init_2( const char *install_path, const char *user_p
LokHookFunction2 *pSym2;
dlhandle = lok_dlopen(install_path, &imp_lib);
if (!dlhandle)
return NULL;
pSym2 = (LokHookFunction2 *) lok_dlsym(dlhandle, "libreofficekit_hook_2");
if (!pSym2)
......
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