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
46b2350c
Kaydet (Commit)
46b2350c
authored
Eyl 05, 2018
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Handle passing a null pAppPath to lo_initialize() on iOS
Change-Id: I293ede0dbac4b36a1b91b86100bc11593b402d06
üst
60569747
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
init.cxx
desktop/source/lib/init.cxx
+8
-0
No files found.
desktop/source/lib/init.cxx
Dosyayı görüntüle @
46b2350c
...
...
@@ -3857,6 +3857,14 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
::
osl
::
Module
::
getUrlFromAddress
(
reinterpret_cast
<
oslGenericFunction
>
(
lo_initialize
),
aAppURL
);
osl
::
FileBase
::
getSystemPathFromFileURL
(
aAppURL
,
aAppPath
);
#ifdef IOS
// The above gives something like
// "/private/var/containers/Bundle/Application/953AA851-CC15-4C60-A2CB-C2C6F24E6F71/Foo.app/Foo",
// and we want to drop the final component (the binary name).
sal_Int32
lastSlash
=
aAppPath
.
lastIndexOf
(
'/'
);
assert
(
lastSlash
>
0
);
aAppPath
=
aAppPath
.
copy
(
0
,
lastSlash
);
#endif
}
OUString
aAppURL
;
...
...
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