nsIDOMHTMLSelectElement* select = nsnull; nsresult result = mContent->QueryInterface(kIDOMHTMLSelectElementIID, (void**)&select); if ((NS_OK == result) && select) { return select;
nsIDOMHTMLSelectElement* thisSelect = nsnull; nsresult result = mContent->QueryInterface(kIDOMHTMLSelectElementIID, (void**)&thisSelect); if ((NS_OK == result) && thisSelect) { return thisSelect;
nsSelectControlFrame::GetSelect(){  nsIDOMHTMLSelectElement* select = nsnull;  nsresult result = mContent->QueryInterface(kIDOMHTMLSelectElementIID, (void**)&select);  if ((NS_OK == result) && select) {    return select;  } else {    return nsnull;  }}