nsAutoString compressText = aText;
nsAutoString compressText(aText);
nsHTMLOptionElement::GetText(nsString& aText){  aText.SetLength(0);  PRInt32 numNodes;  nsresult rv = mInner.ChildCount(numNodes);  if (NS_FAILED(rv)) {    return rv;  }  for (PRInt32 i = 0; i < numNodes; i++) {    nsIContent* node = nsnull;    rv = ChildAt(i, node);    if (NS_SUCCEEDED(rv) && node) {      nsCOMPtr<nsIDOMText> domText;      rv = node->QueryInterface(kIDOMTextIID, (void**)getter_AddRefs(domText));      if (NS_SUCCEEDED(rv) && domText) {        rv = domText->GetData(aText);        // the option could be all spaces, so compress the white space        // then make sure the length is greater than zero        if (aText.Length() > 0) {           nsAutoString compressText = aText;          compressText.CompressWhitespace(PR_TRUE, PR_TRUE);          if (compressText.Length() != 0) {            aText = compressText;          }        }        NS_RELEASE(node);        break;      }      NS_RELEASE(node);    }  }  return NS_OK;}