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

#include <IDocumentUndoRedo.hxx>

Public Member Functions

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

Private Attributes

IDocumentUndoRedo & m_rUndoRedo
 
bool const m_bUndoWasEnabled
 

Detailed Description

Definition at line 223 of file IDocumentUndoRedo.hxx.

Constructor & Destructor Documentation

◆ UndoGuard()

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

Definition at line 227 of file IDocumentUndoRedo.hxx.

References m_rUndoRedo.

◆ ~UndoGuard()

sw::UndoGuard::~UndoGuard ( )
inline

Definition at line 233 of file IDocumentUndoRedo.hxx.

References m_bUndoWasEnabled, and m_rUndoRedo.

Member Function Documentation

◆ UndoWasEnabled()

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

Definition at line 238 of file IDocumentUndoRedo.hxx.

References m_bUndoWasEnabled.

Referenced by SwDoc::ReplaceStyles().

Member Data Documentation

◆ m_bUndoWasEnabled

bool const sw::UndoGuard::m_bUndoWasEnabled
private

Definition at line 245 of file IDocumentUndoRedo.hxx.

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

◆ m_rUndoRedo

IDocumentUndoRedo& sw::UndoGuard::m_rUndoRedo
private

Definition at line 244 of file IDocumentUndoRedo.hxx.

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


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