Lines Matching refs:pNewObj
505 SdrObject* SdrObjList::NbcReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum) in NbcReplaceObject() argument
507 if (nObjNum >= maList.size() || pNewObj == NULL) in NbcReplaceObject()
510 OSL_ASSERT(pNewObj!=NULL); in NbcReplaceObject()
521 ReplaceObjectInContainer(*pNewObj,nObjNum); in NbcReplaceObject()
526 pNewObj->SetOrdNum(nObjNum); in NbcReplaceObject()
527 pNewObj->SetObjList(this); in NbcReplaceObject()
528 pNewObj->SetPage(pPage); in NbcReplaceObject()
532 impChildInserted(*pNewObj); in NbcReplaceObject()
534 pNewObj->SetInserted(sal_True); in NbcReplaceObject()
540 SdrObject* SdrObjList::ReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum) in ReplaceObject() argument
547 if (pNewObj == NULL) in ReplaceObject()
549 OSL_ASSERT(pNewObj!=NULL); in ReplaceObject()
568 ReplaceObjectInContainer(*pNewObj,nObjNum); in ReplaceObject()
573 pNewObj->SetOrdNum(nObjNum); in ReplaceObject()
574 pNewObj->SetObjList(this); in ReplaceObject()
575 pNewObj->SetPage(pPage); in ReplaceObject()
579 impChildInserted(*pNewObj); in ReplaceObject()
581 pNewObj->SetInserted(sal_True); in ReplaceObject()
584 if (pNewObj->GetPage()!=NULL) { in ReplaceObject()
585 SdrHint aHint(*pNewObj); in ReplaceObject()