FindFamily(const nsString* aName)
FindFamily(nsCString* aName)
FindFamily(const nsString* aName){  nsFontFamily* family = nsnull;  if (!gFamilies) {    if (!InitFontTables()) {      return nsnull;    }  }  family = (nsFontFamily*) PL_HashTableLookup(gFamilies, aName);  if (!family) {    char name[128];    aName->ToCString(name, sizeof(name));    char buf[256];    PR_snprintf(buf, sizeof(buf), "-*-%s-*-*-*-*-*-*-*-*-*-*-*-*", name);    family = GetFontNames(buf);    if (!family) {      family = new nsFontFamily; // dummy entry to avoid calling X again      if (family) {        nsString* copy = new nsString(*aName);        if (copy) {          PL_HashTableAdd(gFamilies, copy, family);        }        else {          delete family;          return nsnull;        }      }      else {        return nsnull;      }    }  }  return family;}