Lines Matching refs:nParentNodePos
401 sal_uInt16 nParentNodePos = aParent->Search(this); in Delete() local
404 if (nParentNodePos == (aParent->Count() - 1)) in Delete()
406 if (!nParentNodePos) in Delete()
408 Merge(nParentNodePos,aParent->GetChild(&rIndex)); in Delete()
410 Merge(nParentNodePos,(*aParent)[nParentNodePos-1].GetChild(&rIndex,aParent)); in Delete()
416 Merge(nParentNodePos + 1,((*aParent)[nParentNodePos + 1].GetChild(&rIndex,aParent))); in Delete()
417 nParentNodePos++; in Delete()
419 if (HasParent() && !(*aParent)[nParentNodePos].HasChild()) in Delete()
420 aParent->Delete(nParentNodePos); in Delete()
510 void ONDXPage::Merge(sal_uInt16 nParentNodePos, ONDXPagePtr xPage) in Merge() argument
513 DBG_ASSERT(nParentNodePos != NODE_NOTFOUND, "Falscher Indexaufbau"); in Merge()
550 if (nParentNodePos) in Merge()
551 (*aParent)[nParentNodePos-1].SetChild(this,aParent); in Merge()
559 (*aParent)[nParentNodePos].SetChild(); in Merge()
617 (*aParent)[nParentNodePos].SetChild(xPage->GetChild(),aParent); in Merge()
618 Append((*aParent)[nParentNodePos]); in Merge()
627 (*aParent)[nParentNodePos].SetChild(GetChild(),aParent); // Parent merkt sich mein Child in Merge()
628 Insert(0,(*aParent)[nParentNodePos]); // Node vom Parent bei mir einfuegen in Merge()
636 if (nParentNodePos) in Merge()
637 (*aParent)[nParentNodePos-1].SetChild(this,aParent); in Merge()
643 (*aParent)[nParentNodePos].SetChild(); in Merge()
655 else if(nParentNodePos) in Merge()
659 …aParent->SearchAndReplace((*aParent)[nParentNodePos-1].GetKey(),(*aParent)[nParentNodePos].GetKey(… in Merge()
671 (*aParent)[nParentNodePos].SetChild(xPage->GetChild(),aParent); in Merge()
672 Append((*aParent)[nParentNodePos]); in Merge()
673 (*aParent)[nParentNodePos] = (*xPage)[0]; in Merge()
676 xPage->SetChild((*aParent)[nParentNodePos].GetChild()); in Merge()
677 (*aParent)[nParentNodePos].SetChild(xPage,aParent); in Merge()
683 (*aParent)[nParentNodePos].SetChild(GetChild(),aParent); in Merge()
684 Insert(0,(*aParent)[nParentNodePos]); in Merge()
685 (*aParent)[nParentNodePos] = (*xPage)[xPage->Count()-1]; in Merge()
688 SetChild((*aParent)[nParentNodePos].GetChild()); in Merge()
689 (*aParent)[nParentNodePos].SetChild(this,aParent); in Merge()