nextInFlow->GetGeometricParent((nsIFrame*&)parent);    nsIFrame* nextNextInFlow; nextInFlow->GetNextInFlow(nextNextInFlow); if (nsnull != nextNextInFlow) { parent->DeleteChildsNextInFlow(aPresContext, nextInFlow);
nsBlockFrame::DeleteChildsNextInFlow(nsIPresContext* aPresContext,                                     nsIFrame* aChild){  NS_PRECONDITION(IsChild(aPresContext, aChild), "bad geometric parent");  nsIFrame* nextInFlow;  aChild->GetNextInFlow(&nextInFlow);  NS_PRECONDITION(nsnull != nextInFlow, "null next-in-flow");#ifdef IBMBIDI  nsIFrame* nextBidi;  aChild->GetBidiProperty(aPresContext, nsLayoutAtoms::nextBidi,                          (void**) &nextBidi);  if (nextBidi != nextInFlow) {#endif // IBMBIDI  nsBlockFrame* parent;  nextInFlow->GetParent((nsIFrame**)&parent);  NS_PRECONDITION(nsnull != parent, "next-in-flow with no parent");  NS_PRECONDITION(nsnull != parent->mLines, "next-in-flow with weird parent");//  NS_PRECONDITION(nsnull == parent->mOverflowLines, "parent with overflow");  parent->DoRemoveFrame(aPresContext, nextInFlow);#ifdef IBMBIDI  }#endif // IBMBIDI}