diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-17 19:57:25 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-06-18 12:07:16 +0100 |
commit | f73e4594d363c67042089f79f056fc8dae7cf61e (patch) | |
tree | 06e89a421305489ec400d90940aa71ee49f7b9bc /libreofficekit/source/shim.c | |
parent | 2ddcc1afb07e75ef388a200faeeacf833520a0d9 (diff) |
LOK: kill double initialize.
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
Diffstat (limited to 'libreofficekit/source/shim.c')
-rw-r--r-- | libreofficekit/source/shim.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ! |