if (aliased || (NS_OK == data->mDC->CheckFontExistence(local))) {
if (aliased || (NS_SUCCEEDED(data->mDC->CheckFontExistence(local)))) {
static PRBool FontEnumCallback(const nsString& aFamily, PRBool aGeneric, void *aData){  FontEnumData* data = (FontEnumData*)aData;  // XXX for now, all generic fonts are presumed to exist  //     we may want to actually check if there's an installed conversion  if (aGeneric) {    data->mFaceName = aFamily;    return PR_FALSE; // found one, stop.  }  else {    nsAutoString  local;    PRBool        aliased;    data->mDC->GetLocalFontName(aFamily, local, aliased);    if (aliased || (NS_OK == data->mDC->CheckFontExistence(local))) {      data->mFaceName = local;      return PR_FALSE; // found one, stop.    }  }  return PR_TRUE; // didn't exist, continue looking}