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:05:41 +0100 |
commit | a66b897ba4eed3e4d75aae785115bdc2bf051207 (patch) | |
tree | 08f17f456537d4a682e1b83c5c059caed5ffd396 /libreofficekit | |
parent | e9ef07ed691399119b6bc5f1d2d79222667766c6 (diff) |
LOK: kill double initialize.
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
Diffstat (limited to 'libreofficekit')
-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 ! |