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
38840e36
Kaydet (Commit)
38840e36
authored
Agu 29, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
these FIXME comments are now obsolete
Change-Id: I81b4214555d715bf597dc5dbe6b7cfaf53a344d8
üst
54202019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
languagetag.cxx
i18nlangtag/source/languagetag/languagetag.cxx
+0
-12
No files found.
i18nlangtag/source/languagetag/languagetag.cxx
Dosyayı görüntüle @
38840e36
...
@@ -666,9 +666,6 @@ void LanguageTag::convertBcp47ToLang()
...
@@ -666,9 +666,6 @@ void LanguageTag::convertBcp47ToLang()
}
}
else
else
{
{
/* FIXME: this is temporary. If we support locales that consist not
* only of language and country, e.g. added script, this probably needs
* to be adapted. */
if
(
!
mbInitializedLocale
)
if
(
!
mbInitializedLocale
)
convertBcp47ToLocale
();
convertBcp47ToLocale
();
convertLocaleToLang
();
convertLocaleToLang
();
...
@@ -692,9 +689,6 @@ void LanguageTag::convertLangToLocale()
...
@@ -692,9 +689,6 @@ void LanguageTag::convertLangToLocale()
void
LanguageTag
::
convertLangToBcp47
()
void
LanguageTag
::
convertLangToBcp47
()
{
{
/* FIXME: this is temporary. If we support locales that consist not only of
* language and country, e.g. added script, this probably needs to be
* adapted. */
if
(
!
mbInitializedLocale
)
if
(
!
mbInitializedLocale
)
convertLangToLocale
();
convertLangToLocale
();
convertLocaleToBcp47
();
convertLocaleToBcp47
();
...
@@ -1464,9 +1458,6 @@ com::sun::star::lang::Locale LanguageTag::convertToLocale( LanguageType nLangID,
...
@@ -1464,9 +1458,6 @@ com::sun::star::lang::Locale LanguageTag::convertToLocale( LanguageType nLangID,
if
(
!
bResolveSystem
&&
lcl_isSystem
(
nLangID
))
if
(
!
bResolveSystem
&&
lcl_isSystem
(
nLangID
))
return
lang
::
Locale
();
return
lang
::
Locale
();
/* FIXME: this is temporary until code base is converted to not use
* MsLangId::convert...() anymore. After that, proper new method has to be
* implemented to allow I18NLANGTAG_QLT and script tag and such. */
return
MsLangId
::
Conversion
::
convertLanguageToLocale
(
nLangID
,
bResolveSystem
);
return
MsLangId
::
Conversion
::
convertLanguageToLocale
(
nLangID
,
bResolveSystem
);
}
}
...
@@ -1477,9 +1468,6 @@ LanguageType LanguageTag::convertToLanguageType( const com::sun::star::lang::Loc
...
@@ -1477,9 +1468,6 @@ LanguageType LanguageTag::convertToLanguageType( const com::sun::star::lang::Loc
if
(
rLocale
.
Language
.
isEmpty
()
&&
!
bResolveSystem
)
if
(
rLocale
.
Language
.
isEmpty
()
&&
!
bResolveSystem
)
return
LANGUAGE_SYSTEM
;
return
LANGUAGE_SYSTEM
;
/* FIXME: this is temporary until code base is converted to not use
* MsLangId::convert...() anymore. After that, proper new method has to
* be implemented to allow I18NLANGTAG_QLT and sript tag and such. */
return
MsLangId
::
Conversion
::
convertLocaleToLanguage
(
rLocale
);
return
MsLangId
::
Conversion
::
convertLocaleToLanguage
(
rLocale
);
}
}
...
...
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