From f73e4594d363c67042089f79f056fc8dae7cf61e Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Tue, 17 Jun 2014 19:57:25 +0100 Subject: LOK: kill double initialize. Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888 --- libreofficekit/source/shim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libreofficekit') diff --git a/libreofficekit/source/shim.c b/libreofficekit/source/shim.c index 78002ab81753..6a3f9a78cdfa 100644 --- a/libreofficekit/source/shim.c +++ b/libreofficekit/source/shim.c @@ -23,7 +23,7 @@ #define TARGET_LIB SAL_MODULENAME( "sofficeapp" ) -typedef LibreOfficeKit *(HookFunction)(void); +typedef LibreOfficeKit *(HookFunction)( const char *install_path); SAL_DLLPUBLIC_EXPORT LibreOfficeKit *lok_init( const char *install_path ) { @@ -59,7 +59,7 @@ SAL_DLLPUBLIC_EXPORT LibreOfficeKit *lok_init( const char *install_path ) } free( imp_lib ); - return pSym(); + return pSym( install_path ); } #endif // not LINUX => port me ! -- cgit