SetCharsetLangGroup(nsFontCharSetXlibInfo* aCharSetInfo)
SetCharsetLangGroup(nsFontCharSetInfoXlib* aCharSetInfo)
SetCharsetLangGroup(nsFontCharSetXlibInfo* aCharSetInfo){  if (!aCharSetInfo->mCharSet || aCharSetInfo->mLangGroup)    return;  nsCOMPtr<nsIAtom> charset;  nsresult res = gCharSetManager->GetCharsetAtom2(aCharSetInfo->mCharSet,                                                  getter_AddRefs(charset));                                               NS_ASSERTION(NS_SUCCEEDED(res), "gCharSetManager->GetCharsetAtom2() failed.");                                               if (NS_SUCCEEDED(res)) {    res = gCharSetManager->GetCharsetLangGroup(charset,                                               &aCharSetInfo->mLangGroup);    // NS_ASSERTION(NS_SUCCEEDED(res), "gCharSetManager->GetCharsetLangGroup() failed.");    if (NS_FAILED(res)) {      aCharSetInfo->mLangGroup = NS_NewAtom("");#ifdef DEBUG      printf("=== cannot get lang group for %s\n", aCharSetInfo->mCharSet);#endif    }  }}