Lines Matching refs:pHistory
605 pHistory = new SwHistory; in Impl()
608 m_nSetPos = pHistory->Count(); in Impl()
615 pHistory->CopyAttr( pNd->GetpSwpHints(), nNewPos, 0, in Impl()
622 pHistory->CopyFmtAttr( *pNd->GetpSwAttrSet(), nNewPos ); in Impl()
623 pHistory->Add( pNd->GetTxtColl(), nNewPos, ND_TEXTNODE ); in Impl()
627 pHistory->CopyAttr( pNext->GetpSwpHints(), nTmp, 0, in Impl()
630 pHistory->CopyFmtAttr( *pNext->GetpSwAttrSet(), nTmp ); in Impl()
631 pHistory->Add( pNext->GetTxtColl(),nTmp, ND_TEXTNODE ); in Impl()
637 if( !pHistory->Count() ) in Impl()
638 delete pHistory, pHistory = 0; in Impl()
701 if( pHistory ) in UndoImpl()
706 pHistory->TmpRollback( pDoc, m_nSetPos, false ); in UndoImpl()
710 if( m_nSetPos < pHistory->Count() ) in UndoImpl()
714 aHstr.Move( 0, pHistory, m_nSetPos ); in UndoImpl()
715 pHistory->Rollback( pDoc ); in UndoImpl()
716 pHistory->Move( 0, &aHstr ); in UndoImpl()
720 pHistory->Rollback( pDoc ); in UndoImpl()
721 DELETEZ( pHistory ); in UndoImpl()
748 if( pHistory ) in RedoImpl()
750 SwHistory* pSave = pHistory; in RedoImpl()
752 pHistory = &aHst; in RedoImpl()
754 m_nSetPos = pHistory->Count(); in RedoImpl()
756 pHistory = pSave; in RedoImpl()
757 pHistory->Move( 0, &aHst ); in RedoImpl()
761 pHistory = new SwHistory; in RedoImpl()
763 m_nSetPos = pHistory->Count(); in RedoImpl()
765 delete pHistory, pHistory = 0; in RedoImpl()