Lines Matching refs:pTargetParent
313 sal_uLong SvTreeList::Move(SvListEntry* pSrcEntry,SvListEntry* pTargetParent,sal_uLong nListPos) in Move() argument
317 if ( !pTargetParent ) in Move()
318 pTargetParent = pRootItem; in Move()
319 DBG_ASSERT(pSrcEntry!=pTargetParent,"Move:Source=Target"); in Move()
321 Broadcast( LISTACTION_MOVING, pSrcEntry, pTargetParent, nListPos ); in Move()
323 if ( !pTargetParent->pChilds ) in Move()
324 pTargetParent->pChilds = new SvTreeEntryList; in Move()
325 if ( pSrcEntry == pTargetParent ) in Move()
330 SvTreeEntryList* pDstList = pTargetParent->pChilds; in Move()
351 pSrcEntry->pParent = pTargetParent; in Move()
366 Broadcast( LISTACTION_MOVED,pSrcEntry,pTargetParent,nRetVal); in Move()
370 sal_uLong SvTreeList::Copy(SvListEntry* pSrcEntry,SvListEntry* pTargetParent,sal_uLong nListPos) in Copy() argument
374 if ( !pTargetParent ) in Copy()
375 pTargetParent = pRootItem; in Copy()
376 if ( !pTargetParent->pChilds ) in Copy()
377 pTargetParent->pChilds = new SvTreeEntryList; in Copy()
385 SvTreeEntryList* pDstList = pTargetParent->pChilds; in Copy()
386 pClonedEntry->pParent = pTargetParent; // Parent umsetzen in Copy()
486 SvListEntry* pTargetParent,sal_uLong nListPos) in InsertTree() argument
492 if ( !pTargetParent ) in InsertTree()
493 pTargetParent = pRootItem; in InsertTree()
494 if ( !pTargetParent->pChilds ) in InsertTree()
495 pTargetParent->pChilds = new SvTreeEntryList; in InsertTree()
498 GetInsertionPos( pSrcEntry, pTargetParent, nListPos ); in InsertTree()
502 pSrcEntry->pParent = pTargetParent; // Parent umsetzen in InsertTree()
503 SvTreeEntryList* pDstList = pTargetParent->pChilds; in InsertTree()