diff options
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 ! |