Lines Matching refs:aGuard

397         UndoManagerGuard aGuard( *m_pData );  in ~SfxUndoManager()  local
409 UndoManagerGuard aGuard( *m_pData ); in EnableUndo() local
427 UndoManagerGuard aGuard( *m_pData ); in IsUndoEnabled() local
442 UndoManagerGuard aGuard( *m_pData ); in SetMaxUndoActionCount() local
456 aGuard.markForDeletion( pAction ); in SetMaxUndoActionCount()
464 aGuard.markForDeletion( pAction ); in SetMaxUndoActionCount()
481 UndoManagerGuard aGuard( *m_pData ); in GetMaxUndoActionCount() local
508 UndoManagerGuard aGuard( *m_pData ); in Clear() local
511 ImplClearCurrentLevel_NoNotify( aGuard ); in Clear()
514 aGuard.scheduleNotification( &SfxUndoListener::cleared ); in Clear()
521 UndoManagerGuard aGuard( *m_pData ); in ClearAllLevels() local
522 ImplClearCurrentLevel_NoNotify( aGuard ); in ClearAllLevels()
530 aGuard.scheduleNotification( &SfxUndoListener::cleared ); in ClearAllLevels()
538 UndoManagerGuard aGuard( *m_pData ); in ImplClearRedo_NoLock() local
539 ImplClearRedo( aGuard, i_currentLevel ); in ImplClearRedo_NoLock()
554 UndoManagerGuard aGuard( *m_pData ); in Reset() local
562 ImplLeaveListAction( false, aGuard ); in Reset()
565 ImplClearCurrentLevel_NoNotify( aGuard ); in Reset()
569 aGuard.cancelNotifications(); in Reset()
572 aGuard.scheduleNotification( &SfxUndoListener::resetAll ); in Reset()
652 UndoManagerGuard aGuard( *m_pData ); in AddUndoAction() local
655 if ( ImplAddUndoAction_NoNotify( pAction, bTryMerge, true, aGuard ) ) in AddUndoAction()
658 aGuard.scheduleNotification( &SfxUndoListener::undoActionAdded, pAction->GetComment() ); in AddUndoAction()
666 UndoManagerGuard aGuard( *m_pData ); in GetUndoActionCount() local
675 UndoManagerGuard aGuard( *m_pData ); in GetUndoActionComment() local
691 UndoManagerGuard aGuard( *m_pData ); in GetUndoActionId() local
703 UndoManagerGuard aGuard( *m_pData ); in GetUndoAction() local
716 UndoManagerGuard aGuard( *m_pData ); in RemoveLastUndoAction() local
725 aGuard.markForDeletion( m_pData->pActUndoArray->aUndoActions[nPos-1].pAction ); in RemoveLastUndoAction()
737 UndoManagerGuard aGuard( *m_pData ); in IsDoing() local
759 UndoManagerGuard aGuard( *m_pData ); in ImplUndo() local
783 aGuard.clear(); in ImplUndo()
788 aGuard.reset(); in ImplUndo()
792 aGuard.reset(); in ImplUndo()
803 ImplClearUndo( aGuard ); in ImplUndo()
811 aGuard.scheduleNotification( &SfxUndoListener::actionUndone, sActionComment ); in ImplUndo()
820 UndoManagerGuard aGuard( *m_pData ); in GetRedoActionCount() local
836 UndoManagerGuard aGuard( *m_pData ); in GetRedoAction() local
851 UndoManagerGuard aGuard( *m_pData ); in GetRedoActionComment() local
878 UndoManagerGuard aGuard( *m_pData ); in ImplRedo() local
902 aGuard.clear(); in ImplRedo()
907 aGuard.reset(); in ImplRedo()
911 aGuard.reset(); in ImplRedo()
922 ImplClearRedo( aGuard, IUndoManager::CurrentLevel ); in ImplRedo()
931 aGuard.scheduleNotification( &SfxUndoListener::actionRedone, sActionComment ); in ImplRedo()
940 UndoManagerGuard aGuard( *m_pData ); in GetRepeatActionCount() local
948 UndoManagerGuard aGuard( *m_pData ); in GetRepeatActionComment() local
957 UndoManagerGuard aGuard( *m_pData ); in Repeat() local
961 aGuard.clear(); in Repeat()
974 UndoManagerGuard aGuard( *m_pData ); in CanRepeat() local
987 UndoManagerGuard aGuard( *m_pData ); in AddUndoListener() local
995 UndoManagerGuard aGuard( *m_pData ); in RemoveUndoListener() local
1020 UndoManagerGuard aGuard( *m_pData ); in EnterListAction() local
1030 OSL_VERIFY( ImplAddUndoAction_NoNotify( pAction, false, false, aGuard ) ); in EnterListAction()
1035 aGuard.scheduleNotification( &SfxUndoListener::listActionEntered, rComment ); in EnterListAction()
1042 UndoManagerGuard aGuard( *m_pData ); in IsInListAction() local
1057 UndoManagerGuard aGuard( *m_pData ); in GetListActionDepth() local
1074 UndoManagerGuard aGuard( *m_pData ); in LeaveListAction() local
1075 size_t nCount = ImplLeaveListAction( false, aGuard ); in LeaveListAction()
1079 ImplClearCurrentLevel_NoNotify( aGuard ); in LeaveListAction()
1083 aGuard.scheduleNotification( &SfxUndoListener::cleared ); in LeaveListAction()
1095 UndoManagerGuard aGuard( *m_pData ); in LeaveAndMergeListAction() local
1096 return ImplLeaveListAction( true, aGuard ); in LeaveAndMergeListAction()
1182 UndoManagerGuard aGuard( *m_pData ); in MarkTopUndoAction() local
1204 UndoManagerGuard aGuard( *m_pData ); in RemoveMark() local
1240 UndoManagerGuard aGuard( *m_pData ); in HasTopUndoActionMark() local
1266 UndoManagerGuard aGuard( *m_pData ); in RemoveOldestUndoActions() local
1279 aGuard.markForDeletion( pActionToRemove ); in RemoveOldestUndoActions()