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
bf850f67
Kaydet (Commit)
bf850f67
authored
Ock 06, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Streamline a bit for Android
Change-Id: I8233f6409d75bff23738e121efcdbd340035da9d
üst
4a11f5c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
nlsupport.c
sal/osl/unx/nlsupport.c
+7
-4
No files found.
sal/osl/unx/nlsupport.c
Dosyayı görüntüle @
bf850f67
...
@@ -907,6 +907,12 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
...
@@ -907,6 +907,12 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
void
_imp_getProcessLocale
(
rtl_Locale
**
ppLocale
)
void
_imp_getProcessLocale
(
rtl_Locale
**
ppLocale
)
{
{
#ifdef ANDROID
/* No locale environment variables on Android, so why even bother
* with getenv().
*/
locale
=
"en-US.UTF-8"
;
#else
/* simulate behavior off setlocale */
/* simulate behavior off setlocale */
char
*
locale
=
getenv
(
"LC_ALL"
);
char
*
locale
=
getenv
(
"LC_ALL"
);
...
@@ -917,13 +923,10 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
...
@@ -917,13 +923,10 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
locale
=
getenv
(
"LANG"
);
locale
=
getenv
(
"LANG"
);
if
(
NULL
==
locale
)
if
(
NULL
==
locale
)
#ifdef ANDROID
locale
=
"en-US.UTF-8"
;
#else
locale
=
"C"
;
locale
=
"C"
;
#endif
*
ppLocale
=
_parse_locale
(
locale
);
*
ppLocale
=
_parse_locale
(
locale
);
#endif
}
}
#endif
#endif
...
...
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