summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-12-13 21:56:17 +0100
committerEike Rathke <erack@redhat.com>2012-12-13 21:56:38 +0100
commit1d486e6c65806a9ca4b9e06504056cc16f687475 (patch)
treefa241570e7f99711286259008146611c3e0ded68 /unotools
parent78fc1e1b954e1b09a0a0e779202d892759564489 (diff)
added FIXME-BCP47 marker, adapted debug check
Change-Id: I334b00c907099517d327bf6314c4e853530a58cf
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index ceffc85fd9fd..8e283b6f9d09 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -285,6 +285,7 @@ void LocaleDataWrapper::invalidateData()
String aDebugLocale;
if (areChecksEnabled())
{
+ /* FIXME-BCP47: handle language tags! */
aDebugLocale = xLoc[i].Language;
if ( !xLoc[i].Country.isEmpty() )
{
@@ -333,10 +334,10 @@ void LocaleDataWrapper::invalidateData()
// In checks, exclude known problems because no MS-LCID defined
// and default for Language found.
if ( areChecksEnabled()
- && !aDebugLocale.EqualsAscii( "ar_SD" ) // Sudan/ar
- && !aDebugLocale.EqualsAscii( "en_CB" ) // Carribean is not a country
-// && !aDebugLocale.EqualsAscii( "en_BG" ) // ?!? Bulgaria/en
-// && !aDebugLocale.EqualsAscii( "es_BR" ) // ?!? Brazil/es
+ && !aDebugLocale.EqualsAscii( "ar-SD" ) // Sudan/ar
+ && !aDebugLocale.EqualsAscii( "en-CB" ) // Carribean is not a country
+// && !aDebugLocale.EqualsAscii( "en-BG" ) // ?!? Bulgaria/en
+// && !aDebugLocale.EqualsAscii( "es-BR" ) // ?!? Brazil/es
)
{
rtl::OUStringBuffer aMsg;