Lines Matching refs:pNewModel
256 …ibuteProperties::MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel) in MoveToItemPool() argument
258 OSL_ASSERT(pNewModel!=NULL); in MoveToItemPool()
277 GetSdrObject().GetModel()->MigrateItemSet(pOldSet, mpItemSet, pNewModel); in MoveToItemPool()
297 OSL_ASSERT(pNewModel->GetStyleSheetPool() != NULL); in MoveToItemPool()
299 pNewModel->GetStyleSheetPool()->Find( in MoveToItemPool()
307 pNewStyleSheet = pNewModel->GetDefaultStyleSheet(); in MoveToItemPool()
318 void AttributeProperties::SetModel(SdrModel* pOldModel, SdrModel* pNewModel) in SetModel() argument
320 if(pOldModel != pNewModel && pNewModel && !pNewModel->IsLoading()) in SetModel()
327 MapUnit aNewUnit(pNewModel->GetScaleUnit()); in SetModel()
345 SfxStyleSheetBasePool* pNewPool = pNewModel->GetStyleSheetPool(); in SetModel()
433 SfxItemSet* pNewSet = &CreateObjectSpecificItemSet(pNewModel->GetItemPool()); in SetModel()
481 if(!GetStyleSheet() && pNewModel && !pNewModel->IsLoading()) in SetModel()
484 SetStyleSheet(pNewModel->GetDefaultStyleSheet(), sal_True); in SetModel()