nsCOMPtr<nsIPresContext> cx; mPresShell->GetPresContext(getter_AddRefs(cx));
nsCOMPtr<nsIContent> startContent; frame->GetContent(getter_AddRefs(startContent));
nsOutlinerBoxObject::GetOutlinerBody(){  nsIFrame* frame = GetFrame();  if (!frame)    return nsnull;  // For now we assume that the outliner body is under child 1 somewhere (since child 0 holds  // the columns).  nsCOMPtr<nsIPresContext> cx;  mPresShell->GetPresContext(getter_AddRefs(cx));  nsIFrame* currFrame;  frame->FirstChild(cx, nsnull, &currFrame);  if (!currFrame)    return nsnull;  currFrame->GetNextSibling(&currFrame);  if (!currFrame)    return nsnull;  nsIFrame* childFrame;  currFrame->FirstChild(cx, nsnull, &childFrame);  while (childFrame) {    nsIOutlinerBoxObject* result = nsnull;    childFrame->QueryInterface(NS_GET_IID(nsIOutlinerBoxObject), (void**)&result);    if (result)      return result;    childFrame->GetNextSibling(&childFrame);  }  return nsnull;}