LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
sw::UndoGuard Class Reference

#include <IDocumentUndoRedo.hxx>

Collaboration diagram for sw::UndoGuard:
[legend]

Public Member Functions

 UndoGuard (IDocumentUndoRedo &rUndoRedo)
 
 ~UndoGuard ()
 
bool UndoWasEnabled () const
 

Private Attributes

IDocumentUndoRedom_rUndoRedo
 
bool const m_bUndoWasEnabled
 

Detailed Description

Definition at line 221 of file IDocumentUndoRedo.hxx.

Constructor & Destructor Documentation

sw::UndoGuard::UndoGuard ( IDocumentUndoRedo rUndoRedo)
inline

Definition at line 225 of file IDocumentUndoRedo.hxx.

References IDocumentUndoRedo::DoUndo(), and m_rUndoRedo.

sw::UndoGuard::~UndoGuard ( )
inline

Member Function Documentation

bool sw::UndoGuard::UndoWasEnabled ( ) const
inline

Member Data Documentation

bool const sw::UndoGuard::m_bUndoWasEnabled
private

Definition at line 243 of file IDocumentUndoRedo.hxx.

Referenced by UndoWasEnabled(), and ~UndoGuard().

IDocumentUndoRedo& sw::UndoGuard::m_rUndoRedo
private

Definition at line 242 of file IDocumentUndoRedo.hxx.

Referenced by UndoGuard(), and ~UndoGuard().


The documentation for this class was generated from the following file: