Lines Matching refs:pUndo
195 SdrUndoGroup* pUndo = NULL; in DetectiveAddPred() local
197 pUndo = pModel->GetCalcUndo(); in DetectiveAddPred()
205 new ScUndoDetective( &rDocShell, pUndo, &aOperation ) ); in DetectiveAddPred()
213 delete pUndo; in DetectiveAddPred()
236 SdrUndoGroup* pUndo = NULL; in DetectiveDelPred() local
238 pUndo = pModel->GetCalcUndo(); in DetectiveDelPred()
246 new ScUndoDetective( &rDocShell, pUndo, &aOperation ) ); in DetectiveDelPred()
254 delete pUndo; in DetectiveDelPred()
275 SdrUndoGroup* pUndo = NULL; in DetectiveAddSucc() local
277 pUndo = pModel->GetCalcUndo(); in DetectiveAddSucc()
285 new ScUndoDetective( &rDocShell, pUndo, &aOperation ) ); in DetectiveAddSucc()
293 delete pUndo; in DetectiveAddSucc()
316 SdrUndoGroup* pUndo = NULL; in DetectiveDelSucc() local
318 pUndo = pModel->GetCalcUndo(); in DetectiveDelSucc()
326 new ScUndoDetective( &rDocShell, pUndo, &aOperation ) ); in DetectiveDelSucc()
334 delete pUndo; in DetectiveDelSucc()
355 SdrUndoGroup* pUndo = NULL; in DetectiveAddError() local
357 pUndo = pModel->GetCalcUndo(); in DetectiveAddError()
365 new ScUndoDetective( &rDocShell, pUndo, &aOperation ) ); in DetectiveAddError()
373 delete pUndo; in DetectiveAddError()
395 SdrUndoGroup* pUndo = NULL; in DetectiveMarkInvalid() local
397 pUndo = pModel->GetCalcUndo(); in DetectiveMarkInvalid()
402 if (pUndo && bUndo) in DetectiveMarkInvalid()
404 pUndo->SetComment( ScGlobal::GetRscString( STR_UNDO_DETINVALID ) ); in DetectiveMarkInvalid()
405 rDocShell.GetUndoManager()->AddUndoAction( pUndo ); in DetectiveMarkInvalid()
415 delete pUndo; in DetectiveMarkInvalid()
434 SdrUndoGroup* pUndo = NULL; in DetectiveDelAll() local
436 pUndo = pModel->GetCalcUndo(); in DetectiveDelAll()
449 new ScUndoDetective( &rDocShell, pUndo, NULL, pUndoList ) ); in DetectiveDelAll()
457 delete pUndo; in DetectiveDelAll()
519 SdrUndoGroup* pUndo = pModel->GetCalcUndo(); in DetectiveRefresh() local
520 if (pUndo) in DetectiveRefresh()
522 pUndo->SetComment( ScGlobal::GetRscString( STR_UNDO_DETREFRESH ) ); in DetectiveRefresh()
525 new ScUndoDraw( pUndo, &rDocShell ), in DetectiveRefresh()