Lines Matching refs:xPage
510 void ONDXPage::Merge(sal_uInt16 nParentNodePos, ONDXPagePtr xPage) in Merge() argument
521 …sal_Bool bRight = ((*xPage)[0].GetKey() > (*this)[0].GetKey()); // sal_True, wenn xPage die rec… in Merge()
522 sal_uInt16 nNewCount = (*xPage).Count() + Count(); in Merge()
529 sal_uInt16 nLastNode = bRight ? Count() - 1 : xPage->Count() - 1; in Merge()
532 … DBG_ASSERT(&xPage != this,"xPage und THIS duerfen nicht gleich sein: Endlosschleife"); in Merge()
534 while (xPage->Count()) in Merge()
536 Append((*xPage)[0]); in Merge()
537 xPage->Remove(0); in Merge()
542 … DBG_ASSERT(&xPage != this,"xPage und THIS duerfen nicht gleich sein: Endlosschleife"); in Merge()
544 while (xPage->Count()) in Merge()
546 Insert(0,(*xPage)[xPage->Count()-1]); in Merge()
547 xPage->Remove(xPage->Count()-1); in Merge()
575 xPage->SetModified(sal_False); in Merge()
576 xPage->ReleaseFull(); // wird nicht mehr benoetigt in Merge()
587 Append((*xPage)[0]); in Merge()
588 xPage->Remove(0); in Merge()
597 while (xPage->Count() < nMaxNodes_2) in Merge()
599 xPage->Insert(0,(*this)[nCount-1]); in Merge()
614 … DBG_ASSERT(&xPage != this,"xPage und THIS duerfen nicht gleich sein: Endlosschleife"); in Merge()
617 (*aParent)[nParentNodePos].SetChild(xPage->GetChild(),aParent); in Merge()
619 for (sal_uInt16 i = 0 ; i < xPage->Count(); i++) in Merge()
620 Append((*xPage)[i]); in Merge()
624 … DBG_ASSERT(&xPage != this,"xPage und THIS duerfen nicht gleich sein: Endlosschleife"); in Merge()
629 while (xPage->Count()) in Merge()
631 Insert(0,(*xPage)[xPage->Count()-1]); in Merge()
632 xPage->Remove(xPage->Count()-1); in Merge()
634 SetChild(xPage->GetChild()); in Merge()
661 xPage->SetModified(sal_False); in Merge()
662 xPage->ReleaseFull(); in Merge()
671 (*aParent)[nParentNodePos].SetChild(xPage->GetChild(),aParent); in Merge()
673 (*aParent)[nParentNodePos] = (*xPage)[0]; in Merge()
674 xPage->Remove(0); in Merge()
676 xPage->SetChild((*aParent)[nParentNodePos].GetChild()); in Merge()
677 (*aParent)[nParentNodePos].SetChild(xPage,aParent); in Merge()
685 (*aParent)[nParentNodePos] = (*xPage)[xPage->Count()-1]; in Merge()
686 xPage->Remove(xPage->Count()-1); in Merge()