Lines Matching refs:pUndoArray
179 SfxUndoArray* pUndoArray; member
192 :pUndoArray( new SfxUndoArray( i_nMaxUndoActionCount ) ) in SfxUndoManager_Data()
201 pActUndoArray = pUndoArray; in SfxUndoManager_Data()
206 delete pUndoArray; in ~SfxUndoManager_Data()
593 …SfxUndoArray* pUndoArray = ( i_currentLevel == IUndoManager::CurrentLevel ) ? m_pData->pActUndoArr… in ImplClearRedo() local
596 while ( pUndoArray->aUndoActions.size() > pUndoArray->nCurUndoAction ) in ImplClearRedo()
598 size_t deletePos = pUndoArray->aUndoActions.size() - 1; in ImplClearRedo()
599 SfxUndoAction* pAction = pUndoArray->aUndoActions[ deletePos ].pAction; in ImplClearRedo()
600 pUndoArray->aUndoActions.Remove( deletePos ); in ImplClearRedo()
633 if( m_pData->pActUndoArray == m_pData->pUndoArray ) in ImplAddUndoAction_NoNotify()
675 const SfxUndoArray* pUndoArray = i_currentLevel ? m_pData->pActUndoArray : m_pData->pUndoArray; in GetUndoActionCount() local
676 return pUndoArray->nCurUndoAction; in GetUndoActionCount()
686 const SfxUndoArray* pUndoArray = i_currentLevel ? m_pData->pActUndoArray : m_pData->pUndoArray; in GetUndoActionComment() local
687 …DBG_ASSERT( nNo < pUndoArray->nCurUndoAction, "svl::SfxUndoManager::GetUndoActionComment: illegal … in GetUndoActionComment()
688 if( nNo < pUndoArray->nCurUndoAction ) in GetUndoActionComment()
690 sComment = pUndoArray->aUndoActions[ pUndoArray->nCurUndoAction - 1 - nNo ].pAction->GetComment(); in GetUndoActionComment()
836 const SfxUndoArray* pUndoArray = i_currentLevel ? m_pData->pActUndoArray : m_pData->pUndoArray; in ImplGetRedoActionCount_Lock() local
837 return pUndoArray->aUndoActions.size() - pUndoArray->nCurUndoAction; in ImplGetRedoActionCount_Lock()
846 const SfxUndoArray* pUndoArray = i_currentLevel ? m_pData->pActUndoArray : m_pData->pUndoArray; in GetRedoAction() local
847 if ( (pUndoArray->nCurUndoAction + nNo) > pUndoArray->aUndoActions.size() ) in GetRedoAction()
851 return pUndoArray->aUndoActions[ pUndoArray->nCurUndoAction + nNo ].pAction; in GetRedoAction()
860 const SfxUndoArray* pUndoArray = i_currentLevel ? m_pData->pActUndoArray : m_pData->pUndoArray; in GetRedoActionComment() local
861 if ( (pUndoArray->nCurUndoAction + nNo) < pUndoArray->aUndoActions.size() ) in GetRedoActionComment()
863 … sComment = pUndoArray->aUndoActions[ pUndoArray->nCurUndoAction + nNo ].pAction->GetComment(); in GetRedoActionComment()
1033 if ( !m_pData->pUndoArray->nMaxUndoActions ) in EnterListAction()
1058 return ( m_pData->pActUndoArray != m_pData->pUndoArray ); in ImplIsInListAction_Lock()
1069 while ( pLookup != m_pData->pUndoArray ) in GetListActionDepth()
1114 if ( !m_pData->pUndoArray->nMaxUndoActions ) in ImplLeaveListAction()
1197 size_t const nActionPos = m_pData->pUndoArray->nCurUndoAction; in MarkTopUndoAction()
1204 m_pData->pUndoArray->aUndoActions[ nActionPos-1 ].aMarks.push_back( in MarkTopUndoAction()
1224 for ( size_t i=0; i<m_pData->pUndoArray->aUndoActions.size(); ++i ) in RemoveMark()
1226 MarkedUndoAction& rAction = m_pData->pUndoArray->aUndoActions[i]; in RemoveMark()
1250 size_t nActionPos = m_pData->pUndoArray->nCurUndoAction; in HasTopUndoActionMark()
1257 m_pData->pUndoArray->aUndoActions[ nActionPos-1 ]; in HasTopUndoActionMark()
1279 SfxUndoAction* pActionToRemove = m_pData->pUndoArray->aUndoActions[0].pAction; in RemoveOldestUndoActions()
1281 if ( IsInListAction() && ( m_pData->pUndoArray->nCurUndoAction == 1 ) ) in RemoveOldestUndoActions()
1288 m_pData->pUndoArray->aUndoActions.Remove( 0 ); in RemoveOldestUndoActions()
1289 --m_pData->pUndoArray->nCurUndoAction; in RemoveOldestUndoActions()