comparing only language and country is now insufficient

Change-Id: I399a5c5444b7352be7fa541fba3112745ce97033
This commit is contained in:
Eike Rathke
2013-07-10 21:13:05 +02:00
parent f8e34b5c12
commit c60257f4de

View File

@@ -656,7 +656,8 @@ static void lcl_MergeLocales(Sequence< Locale >& aAllLocales, const Sequence< Lo
for(sal_Int32 j = 0; j < aAllLocales.getLength() && !bFound; j++)
{
bFound = pAdd[i].Language == pAllLocales[j].Language &&
pAdd[i].Country == pAllLocales[j].Country;
pAdd[i].Country == pAllLocales[j].Country &&
pAdd[i].Variant == pAllLocales[j].Variant;
}
if(!bFound)
{