From c60257f4deddf9b82fc462921e9d25f3a3d56e67 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 10 Jul 2013 21:13:05 +0200 Subject: [PATCH] comparing only language and country is now insufficient Change-Id: I399a5c5444b7352be7fa541fba3112745ce97033 --- cui/source/options/optlingu.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 6fe2d9d3b497..4398ce11ff68 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -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) {