+ if (!theGlobalWordList.hasLocalData())
+ theGlobalWordList.setLocalData(new GlobalWordList);
+ GlobalWordList * globalWordList = theGlobalWordList.localData();
+ GlobalWordList::iterator it = globalWordList->find(lang);
+ if (it != globalWordList->end())
+ return it->second;
+ else {
+ WordList * wl = new WordList;
+ (*globalWordList)[lang] = wl;
+ return wl;
+ }