diff options
-rw-r--r-- | desktop/source/lib/init.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 2342d6a8f10a..3291767acd62 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5162,14 +5162,14 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char } SAL_DLLPUBLIC_EXPORT -LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user_profile_path) +LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user_profile_url) { if (!gImpl) { SAL_INFO("lok", "Create libreoffice object"); gImpl = new LibLibreOffice_Impl(); - if (!lo_initialize(gImpl, install_path, user_profile_path)) + if (!lo_initialize(gImpl, install_path, user_profile_url)) { lo_destroy(gImpl); } @@ -5184,9 +5184,9 @@ LibreOfficeKit *libreofficekit_hook(const char* install_path) } SAL_JNI_EXPORT -int lok_preinit(const char* install_path, const char* user_profile_path) +int lok_preinit(const char* install_path, const char* user_profile_url) { - return lo_initialize(nullptr, install_path, user_profile_path); + return lo_initialize(nullptr, install_path, user_profile_url); } static void lo_destroy(LibreOfficeKit* pThis) |