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
e51ca506
Kaydet (Commit)
e51ca506
authored
Nis 15, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#1202769 comfort coverity
Change-Id: I84214dde71883065f1ca3737180f0d739b49d8ee
üst
99b06e60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
languagetag.cxx
i18nlangtag/source/languagetag/languagetag.cxx
+8
-2
No files found.
i18nlangtag/source/languagetag/languagetag.cxx
Dosyayı görüntüle @
e51ca506
...
...
@@ -1976,10 +1976,16 @@ bool LanguageTagImpl::isIsoODF() const
{
const_cast
<
LanguageTagImpl
*>
(
this
)
->
synCanonicalize
();
if
(
!
LanguageTag
::
isIsoScript
(
getScript
()))
return
((
meIsIsoODF
=
DECISION_NO
)
==
DECISION_YES
);
{
meIsIsoODF
=
DECISION_NO
;
return
false
;
}
// The usual case is lll-CC so simply check that first.
if
(
isIsoLocale
())
return
((
meIsIsoODF
=
DECISION_YES
)
==
DECISION_YES
);
{
meIsIsoODF
=
DECISION_YES
;
return
true
;
}
// If this is not ISO locale for which script must not exist it can
// still be ISO locale plus ISO script lll-Ssss-CC, but not ll-vvvv ...
// ll-vvvvvvvv
...
...
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