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:

Public Member Functions

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

Private Attributes

bool const m_bUndoWasEnabled

Detailed Description

Definition at line 224 of file IDocumentUndoRedo.hxx.

Constructor & Destructor Documentation

sw::UndoGuard::UndoGuard ( IDocumentUndoRedo rUndoRedo)

Definition at line 228 of file IDocumentUndoRedo.hxx.

References IDocumentUndoRedo::DoUndo(), and m_rUndoRedo.

sw::UndoGuard::~UndoGuard ( )

Member Function Documentation

bool sw::UndoGuard::UndoWasEnabled ( ) const

Definition at line 239 of file IDocumentUndoRedo.hxx.

References m_bUndoWasEnabled.

Referenced by SwDoc::ReplaceStyles().

Member Data Documentation

bool const sw::UndoGuard::m_bUndoWasEnabled

Definition at line 246 of file IDocumentUndoRedo.hxx.

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

IDocumentUndoRedo& sw::UndoGuard::m_rUndoRedo

Definition at line 245 of file IDocumentUndoRedo.hxx.

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

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