Searched refs:pListAction (Results 1 – 8 of 8) sorted by relevance
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/undo/ |
H A D | docundo.cxx | 321 auto pListAction = dynamic_cast<SfxListUndoAction*>(SdrUndoManager::GetUndoAction()); in EndUndo() local 322 assert(pListAction); in EndUndo() 325 OSL_ENSURE(static_cast<SwUndoId>(pListAction->GetId()) == eUndoId, in EndUndo() 333 pListAction->SetComment(comment); in EndUndo() 335 else if (SwUndoId::START != static_cast<SwUndoId>(pListAction->GetId())) in EndUndo() 346 pListAction->SetComment(comment); in EndUndo() 390 if (auto pListAction = dynamic_cast<const SfxListUndoAction*>(pAction)) in GetLastUndoInfo() local 391 *o_pId = static_cast<SwUndoId>(pListAction->GetId()); in GetLastUndoInfo() 453 if (auto pListAction = dynamic_cast<const SfxListUndoAction*>(pAction)) in GetFirstRedoInfo() local 454 *o_pId = static_cast<SwUndoId>(pListAction->GetId()); in GetFirstRedoInfo() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/undo/ |
H A D | docundo.cxx | 319 auto pListAction = dynamic_cast<SfxListUndoAction*>(SdrUndoManager::GetUndoAction()); in EndUndo() local 320 assert(pListAction); in EndUndo() 323 OSL_ENSURE(static_cast<SwUndoId>(pListAction->GetId()) == eUndoId, in EndUndo() 331 pListAction->SetComment(comment); in EndUndo() 333 else if (SwUndoId::START != static_cast<SwUndoId>(pListAction->GetId())) in EndUndo() 344 pListAction->SetComment(comment); in EndUndo() 388 if (auto pListAction = dynamic_cast<const SfxListUndoAction*>(pAction)) in GetLastUndoInfo() local 389 *o_pId = static_cast<SwUndoId>(pListAction->GetId()); in GetLastUndoInfo() 451 if (auto pListAction = dynamic_cast<const SfxListUndoAction*>(pAction)) in GetFirstRedoInfo() local 452 *o_pId = static_cast<SwUndoId>(pListAction->GetId()); in GetFirstRedoInfo() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svl/source/undo/ |
H A D | undo.cxx | 1018 SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction * >( pCurrentAction ); in ImplLeaveListAction() local 1019 …ENSURE_OR_RETURN( pListAction, "SfxUndoManager::ImplLeaveListAction: list action expected at this … in ImplLeaveListAction() 1030 pListAction->SetComment( pPreviousAction->GetComment() ); in ImplLeaveListAction() 1031 pListAction->Insert( std::move(pPreviousAction), 0 ); in ImplLeaveListAction() 1032 ++pListAction->nCurUndoAction; in ImplLeaveListAction() 1037 if ( pListAction->GetComment().isEmpty() ) in ImplLeaveListAction() 1039 for( size_t n = 0; n < pListAction->maUndoActions.size(); n++ ) in ImplLeaveListAction() 1041 if (!pListAction->maUndoActions[n].pAction->GetComment().isEmpty()) in ImplLeaveListAction() 1043 pListAction->SetComment( pListAction->maUndoActions[n].pAction->GetComment() ); in ImplLeaveListAction() 1051 i_guard.scheduleNotification( &SfxUndoListener::listActionLeft, pListAction->GetComment() ); in ImplLeaveListAction()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svl/source/undo/ |
H A D | undo.cxx | 1017 SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction * >( pCurrentAction ); in ImplLeaveListAction() local 1018 …ENSURE_OR_RETURN( pListAction, "SfxUndoManager::ImplLeaveListAction: list action expected at this … in ImplLeaveListAction() 1029 pListAction->SetComment( pPreviousAction->GetComment() ); in ImplLeaveListAction() 1030 pListAction->Insert( std::move(pPreviousAction), 0 ); in ImplLeaveListAction() 1031 ++pListAction->nCurUndoAction; in ImplLeaveListAction() 1036 if ( pListAction->GetComment().isEmpty() ) in ImplLeaveListAction() 1038 for( size_t n = 0; n < pListAction->maUndoActions.size(); n++ ) in ImplLeaveListAction() 1040 if (!pListAction->maUndoActions[n].pAction->GetComment().isEmpty()) in ImplLeaveListAction() 1042 pListAction->SetComment( pListAction->maUndoActions[n].pAction->GetComment() ); in ImplLeaveListAction() 1050 i_guard.scheduleNotification( &SfxUndoListener::listActionLeft, pListAction->GetComment() ); in ImplLeaveListAction()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/source/ui/view/ |
H A D | outlview.cxx | 1468 …SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction* >( rOutlineUndo.GetUndoAction() … in TryToMergeUndoActions() local 1470 if( !(pListAction && pPrevListAction) ) in TryToMergeUndoActions() 1474 size_t nAction = pListAction->maUndoActions.size(); in TryToMergeUndoActions() 1478 pEditUndo = dynamic_cast< EditUndo* >(pListAction->GetUndoAction(--nAction)); in TryToMergeUndoActions() 1486 if( dynamic_cast< EditUndo* >(pListAction->GetUndoAction(--nAction)) ) in TryToMergeUndoActions() 1508 assert( pListAction->GetUndoAction(nEditPos) == pEditUndo && in TryToMergeUndoActions() 1510 pListAction->Remove(nEditPos); in TryToMergeUndoActions() 1512 if ( !pListAction->maUndoActions.empty() ) in TryToMergeUndoActions() 1517 size_t nCount = pListAction->maUndoActions.size(); in TryToMergeUndoActions() 1521 std::unique_ptr<SfxUndoAction> pTemp = pListAction->Remove(0); in TryToMergeUndoActions()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/source/ui/view/ |
H A D | outlview.cxx | 1468 …SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction* >( rOutlineUndo.GetUndoAction() … in TryToMergeUndoActions() local 1470 if( !(pListAction && pPrevListAction) ) in TryToMergeUndoActions() 1474 size_t nAction = pListAction->maUndoActions.size(); in TryToMergeUndoActions() 1478 pEditUndo = dynamic_cast< EditUndo* >(pListAction->GetUndoAction(--nAction)); in TryToMergeUndoActions() 1486 if( dynamic_cast< EditUndo* >(pListAction->GetUndoAction(--nAction)) ) in TryToMergeUndoActions() 1508 assert( pListAction->GetUndoAction(nEditPos) == pEditUndo && in TryToMergeUndoActions() 1510 pListAction->Remove(nEditPos); in TryToMergeUndoActions() 1512 if ( !pListAction->maUndoActions.empty() ) in TryToMergeUndoActions() 1517 size_t nCount = pListAction->maUndoActions.size(); in TryToMergeUndoActions() 1521 std::unique_ptr<SfxUndoAction> pTemp = pListAction->Remove(0); in TryToMergeUndoActions()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/qa/unit/tiledrendering/ |
H A D | tiledrendering.cxx | 526 auto pListAction = dynamic_cast<SfxListUndoAction*>(pUndoManager->GetUndoAction()); in testSetGraphicSelection() local 527 CPPUNIT_ASSERT(pListAction); in testSetGraphicSelection() 528 for (size_t i = 0; i < pListAction->maUndoActions.size(); ++i) in testSetGraphicSelection() 530 CPPUNIT_ASSERT_EQUAL(ViewShellId(nView1), pListAction->GetUndoAction(i)->GetViewShellId()); in testSetGraphicSelection()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/qa/unit/tiledrendering/ |
H A D | tiledrendering.cxx | 553 auto pListAction = dynamic_cast<SfxListUndoAction*>(pUndoManager->GetUndoAction()); in testSetGraphicSelection() local 554 CPPUNIT_ASSERT(pListAction); in testSetGraphicSelection() 555 for (size_t i = 0; i < pListAction->maUndoActions.size(); ++i) in testSetGraphicSelection() 557 CPPUNIT_ASSERT_EQUAL(ViewShellId(nView1), pListAction->GetUndoAction(i)->GetViewShellId()); in testSetGraphicSelection()
|