result = GetMultiple(&isMultiple); if (NS_OK == result) { if (isMultiple) { aType.SetString("select-multiple"); } else { aType.SetString("select-one"); } }
nsHTMLSelectElement::GetType(nsString& aType){  PRBool isMultiple;  nsresult result = NS_OK;  result = GetMultiple(&isMultiple);  if (NS_OK == result) {    if (isMultiple) {      aType.SetString("select-multiple");    }    else {      aType.SetString("select-one");    }  }    return NS_OK;}