PRInt32 index; if (NS_OK == GetIndex(&index)) {
PRInt32 indx; if (NS_OK == GetIndex(&indx)) {
nsHTMLOptionElement::GetSelected(PRBool* aValue){  nsIFormControlFrame* formControlFrame = nsnull;  nsresult rv = GetPrimaryFrame(formControlFrame);  if (NS_SUCCEEDED(rv)) {    PRInt32 index;    if (NS_OK == GetIndex(&index)) {      nsString value;      value.Append(index, 10); // Save the index in base 10      formControlFrame->GetProperty(nsHTMLAtoms::selected, value);      if (value == "1")        *aValue = PR_TRUE;      else        *aValue = PR_FALSE;    }  }  return rv;      }