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

#include <scopetools.hxx>

Collaboration diagram for sc::UndoSwitch:
[legend]

Public Member Functions

 UndoSwitch (ScDocument &rDoc, bool bUndo)
 
 ~UndoSwitch ()
 

Private Attributes

ScDocumentmrDoc
 
bool mbOldValue
 

Detailed Description

Definition at line 51 of file scopetools.hxx.

Constructor & Destructor Documentation

◆ UndoSwitch()

sc::UndoSwitch::UndoSwitch ( ScDocument rDoc,
bool  bUndo 
)

Definition at line 38 of file scopetools.cxx.

References ScDocument::EnableUndo(), and mrDoc.

◆ ~UndoSwitch()

sc::UndoSwitch::~UndoSwitch ( )

Definition at line 44 of file scopetools.cxx.

References ScDocument::EnableUndo(), mbOldValue, and mrDoc.

Member Data Documentation

◆ mbOldValue

bool sc::UndoSwitch::mbOldValue
private

Definition at line 54 of file scopetools.hxx.

Referenced by ~UndoSwitch().

◆ mrDoc

ScDocument& sc::UndoSwitch::mrDoc
private

Definition at line 53 of file scopetools.hxx.

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


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