diff -Naurb OOO320_m12.orig/lingucomponent/source/lingutil/lingutil.cxx OOO320_m12/lingucomponent/source/lingutil/lingutil.cxx --- OOO320_m12.orig/lingucomponent/source/lingutil/lingutil.cxx 2010-02-02 14:49:41.000000000 +0300 +++ OOO320_m12/lingucomponent/source/lingutil/lingutil.cxx 2010-03-10 21:13:58.000000000 +0300 @@ -173,6 +173,8 @@ { osl::DirectoryItem aItem; osl::FileStatus aFileStatus(FileStatusMask_FileURL); + + for (sal_Int32 nPass = 0; nPass < 2; nPass++) { while (aSystemDicts.getNextItem(aItem) == osl::FileBase::E_None) { aItem.getFileStatus(aFileStatus); @@ -191,6 +193,9 @@ if (nIndex != -1) sRegion = sChunk.copy( nIndex, sChunk.getLength() - nIndex ); + if (nPass == 0 && sRegion.getLength() > 2) + continue; + // Thus we first get the language of the dictionary LanguageType nLang = MsLangId::convertIsoNamesToLanguage( sLang, sRegion ); @@ -212,6 +217,7 @@ } } } + } } #endif