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
93e9f05c
Kaydet (Commit)
93e9f05c
authored
Agu 30, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
microoptimization
Change-Id: I773262f018519f5816c029df3da92a9903e53165
üst
3a8f3504
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
isolang.cxx
i18nlangtag/source/isolang/isolang.cxx
+3
-3
No files found.
i18nlangtag/source/isolang/isolang.cxx
Dosyayı görüntüle @
93e9f05c
...
@@ -828,13 +828,13 @@ void MsLangId::Conversion::convertLanguageToLocaleImpl( LanguageType nLang,
...
@@ -828,13 +828,13 @@ void MsLangId::Conversion::convertLanguageToLocaleImpl( LanguageType nLang,
{
{
// Check for country only if there is more than lll-Ssss-CC in tag
// Check for country only if there is more than lll-Ssss-CC in tag
// string, else we would had matched it already.
// string, else we would had matched it already.
if
(
!
rLocale
.
Country
.
isEmpty
()
&&
rLocale
.
Variant
.
getLength
()
>
11
)
if
(
!
aUpper
Country
.
isEmpty
()
&&
rLocale
.
Variant
.
getLength
()
>
11
)
{
{
for
(
const
IsoLanguageScriptCountryEntry
*
pScriptEntry
=
pFirstScript
;
for
(
const
IsoLanguageScriptCountryEntry
*
pScriptEntry
=
pFirstScript
;
pScriptEntry
->
mnLang
!=
LANGUAGE_DONTKNOW
;
++
pScriptEntry
)
pScriptEntry
->
mnLang
!=
LANGUAGE_DONTKNOW
;
++
pScriptEntry
)
{
{
if
(
pScriptEntry
->
startsInIgnoreAsciiCase
(
rLocale
.
Variant
)
&&
if
(
aUpperCountry
.
equalsAscii
(
pScriptEntry
->
maCountry
)
&&
rLocale
.
Country
.
equalsIgnoreAsciiCaseAscii
(
pScriptEntry
->
maCountry
))
pScriptEntry
->
startsInIgnoreAsciiCase
(
rLocale
.
Variant
))
return
pScriptEntry
->
getLocale
();
return
pScriptEntry
->
getLocale
();
}
}
}
}
...
...
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