Kaydet (Commit) 38840e36 authored tarafından Eike Rathke's avatar Eike Rathke

these FIXME comments are now obsolete

Change-Id: I81b4214555d715bf597dc5dbe6b7cfaf53a344d8
üst 54202019
...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment