29 if (
auto pSdUndoAction =
dynamic_cast<SdUndoAction*
>(pNextAction))
49 for (
::tools::Long nAction = nLast - 1; nAction >= 0; nAction--)
51 aCtn[nAction]->Undo();
57 size_t nLast =
aCtn.size();
58 for (
size_t nAction = 0; nAction < nLast; nAction++)
60 aCtn[nAction]->Redo();
virtual SdUndoAction * Clone() const
void AddAction(SdUndoAction *pAction)
virtual void Undo() override
Undo, reverse order of execution.
virtual bool Merge(SfxUndoAction *pNextAction) override
std::vector< std::unique_ptr< SdUndoAction > > aCtn
virtual ~SdUndoGroup() override
virtual void Redo() override