Lines Matching refs:pSelected
509 SdrObject* pSelected = pView->GetMarkedObjectByIndex(0L); in ExecDrawFunc() local
510 OSL_ENSURE(pSelected, "ScDrawShell::ExecDrawFunc: nMarkCount, but no object (!)"); in ExecDrawFunc()
512 if(SC_LAYER_INTERN != pSelected->GetLayer()) in ExecDrawFunc()
514 String aName(pSelected->GetName()); in ExecDrawFunc()
528 if(aName != pSelected->GetName()) in ExecDrawFunc()
531 const sal_uInt16 nObjType(pSelected->GetObjIdentifier()); in ExecDrawFunc()
550 const String aPersistName = static_cast<SdrOle2Obj*>(pSelected)->GetPersistName(); in ExecDrawFunc()
555 new ScUndoRenameObject(pDocSh, aPersistName, pSelected->GetName(), aName)); in ExecDrawFunc()
560 pSelected->SetName(aName); in ExecDrawFunc()
579 SdrObject* pSelected = pView->GetMarkedObjectByIndex(0L); in ExecDrawFunc() local
580 OSL_ENSURE(pSelected, "ScDrawShell::ExecDrawFunc: nMarkCount, but no object (!)"); in ExecDrawFunc()
582 if(SC_LAYER_INTERN != pSelected->GetLayer()) in ExecDrawFunc()
584 String aTitle(pSelected->GetTitle()); in ExecDrawFunc()
585 String aDescription(pSelected->GetDescription()); in ExecDrawFunc()
599 pSelected->SetTitle(aTitle); in ExecDrawFunc()
600 pSelected->SetDescription(aDescription); in ExecDrawFunc()