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:57:29 +0100
commit3b3c5c7c540be1c495a012df57ed4fb5694faf6a (patch)
treea2aad4736b33a5fe592d800cc844cc46e5ddeb85 /unotools
parentcbd9177a3985910312d4f6a4b7c2068bbab50619 (diff)
added FIXME-BCP47 marker, adapted debug check
Change-Id: I334b00c907099517d327bf6314c4e853530a58cf (cherry picked from commit 1d486e6c65806a9ca4b9e06504056cc16f687475)
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;