}  if (document) { document->AddOrphan(pi);
nsXMLStylesheetPI::CloneNode(PRBool aDeep, nsIDOMNode** aReturn){  nsAutoString data;  GetData(data);  nsIDocument *document = GetOwnerDoc();  nsXMLStylesheetPI *pi = new nsXMLStylesheetPI(data, document);  if (!pi) {    return NS_ERROR_OUT_OF_MEMORY;  }  if (document) {    document->AddOrphan(pi);  }  NS_ADDREF(*aReturn = pi);  return NS_OK;}