result = it->QueryInterface(kITextContentIID, (void**) aReturn);
result = it->QueryInterface(NS_GET_IID(nsITextContent), (void**) aReturn);
nsAttributeContent::CloneContent(PRBool aCloneText, nsITextContent** aReturn){  nsresult result = NS_OK;  nsAttributeContent* it;  NS_NEWXPCOM(it, nsAttributeContent);  if (nsnull == it) {    return NS_ERROR_OUT_OF_MEMORY;  }  result = it->QueryInterface(kITextContentIID, (void**) aReturn);  if (NS_FAILED(result)) {    return result;  }  result = it->Init(mContent, mNameSpaceID, mAttrName);  if (NS_FAILED(result) || !aCloneText) {    return result;  }  it->mText = mText;  return result;}