Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
7a228e8d
Kaydet (Commit)
7a228e8d
authored
Eki 25, 2018
tarafından
Tor Lillqvist
Kaydeden (comit)
Jan Holesovsky
Haz 05, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
The 2nd parameter to lo_initialize() is a URL so use such naming consistently
Change-Id: Id4e7f8556d6910ab43b0f7b8ba09e7be8b1ec1d1
üst
aa448403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
init.cxx
desktop/source/lib/init.cxx
+4
-4
No files found.
desktop/source/lib/init.cxx
Dosyayı görüntüle @
7a228e8d
...
@@ -5162,14 +5162,14 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
...
@@ -5162,14 +5162,14 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
}
}
SAL_DLLPUBLIC_EXPORT
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
)
if
(
!
gImpl
)
{
{
SAL_INFO
(
"lok"
,
"Create libreoffice object"
);
SAL_INFO
(
"lok"
,
"Create libreoffice object"
);
gImpl
=
new
LibLibreOffice_Impl
();
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
);
lo_destroy
(
gImpl
);
}
}
...
@@ -5184,9 +5184,9 @@ LibreOfficeKit *libreofficekit_hook(const char* install_path)
...
@@ -5184,9 +5184,9 @@ LibreOfficeKit *libreofficekit_hook(const char* install_path)
}
}
SAL_JNI_EXPORT
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
)
static
void
lo_destroy
(
LibreOfficeKit
*
pThis
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment