else { *aFragment = nsnull; return NS_OK; }
*aFragment = nsnull;  return NS_OK;
nsHTMLFragmentContentSink::GetFragment(nsIDOMDocumentFragment** aFragment){  if (nsnull != mRoot) {    return mRoot->QueryInterface(NS_GET_IID(nsIDOMDocumentFragment), (void**)aFragment);  }  else {    *aFragment = nsnull;    return NS_OK;  }}