Searched refs:pListAction (Results 1 – 3 of 3) sorted by relevance
258 SfxListUndoAction *const pListAction( in EndUndo() local260 OSL_ASSERT(pListAction); in EndUndo()261 if (pListAction) in EndUndo()265 OSL_ENSURE(pListAction->GetId() == eUndoId, in EndUndo()273 pListAction->SetComment(comment); in EndUndo()275 else if ((UNDO_START != pListAction->GetId())) in EndUndo()286 pListAction->SetComment(comment); in EndUndo()
1139 SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction * >( pCurrentAction ); in ImplLeaveListAction() local1140 …ENSURE_OR_RETURN( pListAction, "SfxUndoManager::ImplLeaveListAction: list action expected at this … in ImplLeaveListAction()1152 pListAction->aUndoActions.Insert( pPreviousAction, 0 ); in ImplLeaveListAction()1153 ++pListAction->nCurUndoAction; in ImplLeaveListAction()1155 pListAction->SetComment( pPreviousAction->GetComment() ); in ImplLeaveListAction()1160 if ( pListAction->GetComment().Len() == 0 ) in ImplLeaveListAction()1162 for( size_t n = 0; n < pListAction->aUndoActions.size(); n++ ) in ImplLeaveListAction()1164 if( pListAction->aUndoActions[n].pAction->GetComment().Len() ) in ImplLeaveListAction()1166 pListAction->SetComment( pListAction->aUndoActions[n].pAction->GetComment() ); in ImplLeaveListAction()1173 i_guard.scheduleNotification( &SfxUndoListener::listActionLeft, pListAction->GetComment() ); in ImplLeaveListAction()
1845 if( pListAction && pPrevListAction ) in TryToMergeUndoActions()1848 size_t nAction = pListAction->aUndoActions.size(); in TryToMergeUndoActions()1860 if( dynamic_cast< EditUndo* >(pListAction->aUndoActions[--nAction].pAction) ) in TryToMergeUndoActions()1880 DBG_ASSERT( pListAction->aUndoActions[nEditPos].pAction == pEditUndo, in TryToMergeUndoActions()1882 pListAction->aUndoActions.Remove(nEditPos); in TryToMergeUndoActions()1887 if( pDocUndoManager && ( pListAction->aUndoActions.size() == 1 )) in TryToMergeUndoActions()1918 pListAction->aUndoActions.Remove(0); in TryToMergeUndoActions()1926 if ( !pListAction->aUndoActions.empty() ) in TryToMergeUndoActions()1931 size_t nCount = pListAction->aUndoActions.size(); in TryToMergeUndoActions()1935 SfxUndoAction* pTemp = pListAction->aUndoActions[0].pAction; in TryToMergeUndoActions()[all …]
Completed in 21 milliseconds