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()
660 UndoManagerGuard aGuard( *m_pData ); in AddUndoAction() local
663 if ( ImplAddUndoAction_NoNotify( pAction, bTryMerge, true, aGuard ) ) in AddUndoAction()
666 aGuard.scheduleNotification( &SfxUndoListener::undoActionAdded, pAction->GetComment() ); in AddUndoAction()
674 UndoManagerGuard aGuard( *m_pData ); in GetUndoActionCount() local
683 UndoManagerGuard aGuard( *m_pData ); in GetUndoActionComment() local
699 UndoManagerGuard aGuard( *m_pData ); in GetUndoActionId() local
711 UndoManagerGuard aGuard( *m_pData ); in GetUndoAction() local
724 UndoManagerGuard aGuard( *m_pData ); in RemoveLastUndoAction() local
733 aGuard.markForDeletion( m_pData->pActUndoArray->aUndoActions[nPos-1].pAction ); in RemoveLastUndoAction()
745 UndoManagerGuard aGuard( *m_pData ); in IsDoing() local
767 UndoManagerGuard aGuard( *m_pData ); in ImplUndo() local
791 aGuard.clear(); in ImplUndo()
796 aGuard.reset(); in ImplUndo()
800 aGuard.reset(); in ImplUndo()
811 ImplClearUndo( aGuard ); in ImplUndo()
819 aGuard.scheduleNotification( &SfxUndoListener::actionUndone, sActionComment ); in ImplUndo()
828 UndoManagerGuard aGuard( *m_pData ); in GetRedoActionCount() local
844 UndoManagerGuard aGuard( *m_pData ); in GetRedoAction() local
859 UndoManagerGuard aGuard( *m_pData ); in GetRedoActionComment() local
886 UndoManagerGuard aGuard( *m_pData ); in ImplRedo() local
910 aGuard.clear(); in ImplRedo()
915 aGuard.reset(); in ImplRedo()
919 aGuard.reset(); in ImplRedo()
930 ImplClearRedo( aGuard, IUndoManager::CurrentLevel ); in ImplRedo()
939 aGuard.scheduleNotification( &SfxUndoListener::actionRedone, sActionComment ); in ImplRedo()
948 UndoManagerGuard aGuard( *m_pData ); in GetRepeatActionCount() local
956 UndoManagerGuard aGuard( *m_pData ); in GetRepeatActionComment() local
965 UndoManagerGuard aGuard( *m_pData ); in Repeat() local
969 aGuard.clear(); in Repeat()
982 UndoManagerGuard aGuard( *m_pData ); in CanRepeat() local
995 UndoManagerGuard aGuard( *m_pData ); in AddUndoListener() local
1003 UndoManagerGuard aGuard( *m_pData ); in RemoveUndoListener() local
1028 UndoManagerGuard aGuard( *m_pData ); in EnterListAction() local
1038 OSL_VERIFY( ImplAddUndoAction_NoNotify( pAction, false, false, aGuard ) ); in EnterListAction()
1043 aGuard.scheduleNotification( &SfxUndoListener::listActionEntered, rComment ); in EnterListAction()
1050 UndoManagerGuard aGuard( *m_pData ); in IsInListAction() local
1065 UndoManagerGuard aGuard( *m_pData ); in GetListActionDepth() local
1082 UndoManagerGuard aGuard( *m_pData ); in LeaveListAction() local
1083 size_t nCount = ImplLeaveListAction( false, aGuard ); in LeaveListAction()
1087 ImplClearCurrentLevel_NoNotify( aGuard ); in LeaveListAction()
1091 aGuard.scheduleNotification( &SfxUndoListener::cleared ); in LeaveListAction()
1103 UndoManagerGuard aGuard( *m_pData ); in LeaveAndMergeListAction() local
1104 return ImplLeaveListAction( true, aGuard ); in LeaveAndMergeListAction()
1190 UndoManagerGuard aGuard( *m_pData ); in MarkTopUndoAction() local
1212 UndoManagerGuard aGuard( *m_pData ); in RemoveMark() local
1248 UndoManagerGuard aGuard( *m_pData ); in HasTopUndoActionMark() local
1274 UndoManagerGuard aGuard( *m_pData ); in RemoveOldestUndoActions() local
1287 aGuard.markForDeletion( pActionToRemove ); in RemoveOldestUndoActions()