Searched refs:pListAction (Results 1 – 3 of 3) sorted by relevance
249 SfxListUndoAction *const pListAction( in EndUndo() local251 OSL_ASSERT(pListAction); in EndUndo()252 if (pListAction) in EndUndo()256 OSL_ENSURE(pListAction->GetId() == eUndoId, in EndUndo()264 pListAction->SetComment(comment); in EndUndo()266 else if ((UNDO_START != pListAction->GetId())) in EndUndo()277 pListAction->SetComment(comment); in EndUndo()
1147 SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction * >( pCurrentAction ); in ImplLeaveListAction() local1148 …ENSURE_OR_RETURN( pListAction, "SfxUndoManager::ImplLeaveListAction: list action expected at this … in ImplLeaveListAction()1160 pListAction->aUndoActions.Insert( pPreviousAction, 0 ); in ImplLeaveListAction()1161 ++pListAction->nCurUndoAction; in ImplLeaveListAction()1163 pListAction->SetComment( pPreviousAction->GetComment() ); in ImplLeaveListAction()1168 if ( pListAction->GetComment().Len() == 0 ) in ImplLeaveListAction()1170 for( size_t n = 0; n < pListAction->aUndoActions.size(); n++ ) in ImplLeaveListAction()1172 if( pListAction->aUndoActions[n].pAction->GetComment().Len() ) in ImplLeaveListAction()1174 pListAction->SetComment( pListAction->aUndoActions[n].pAction->GetComment() ); in ImplLeaveListAction()1181 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 110 milliseconds