LibreOffice Module chart2 (master) 1
|
A guard which, in its destructor, restores the model state it found in the constructor. More...
#include <UndoGuard.hxx>
Public Member Functions | |
UndoLiveUpdateGuard (const OUString &i_undoMessage, const css::uno::Reference< css::document::XUndoManager > &i_undoManager) | |
~UndoLiveUpdateGuard () | |
Public Member Functions inherited from chart::UndoGuard | |
UndoGuard (OUString i_undoMessage, const css::uno::Reference< css::document::XUndoManager > &i_undoManager, const ModelFacet i_facet=E_MODEL) | |
~UndoGuard () | |
void | commit () |
void | rollback () |
Additional Inherited Members | |
Protected Member Functions inherited from chart::UndoGuard | |
bool | isActionPosted () const |
A guard which, in its destructor, restores the model state it found in the constructor.
If <member>commitAction</member> is called inbetween, the restoration is not performed.
Definition at line 67 of file UndoGuard.hxx.
|
explicit |
Definition at line 86 of file UndoGuard.cxx.
chart::UndoLiveUpdateGuard::~UndoLiveUpdateGuard | ( | ) |
Definition at line 91 of file UndoGuard.cxx.
References chart::UndoGuard::isActionPosted(), and chart::UndoGuard::rollback().