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

switch the RedlineFlags on the given document, using SetRedlineFlags_intern. More...

Collaboration diagram for RedlineFlagsInternGuard:
[legend]

Public Member Functions

 RedlineFlagsInternGuard (SwDoc &rDoc, RedlineFlags eNewRedlineFlags, RedlineFlags eRedlineFlagsMask)
 
 ~RedlineFlagsInternGuard ()
 

Private Attributes

SwDocmrDoc
 
RedlineFlags const meOldRedlineFlags
 

Detailed Description

switch the RedlineFlags on the given document, using SetRedlineFlags_intern.

This class set the mode in the constructor, and changes it back in the destructor, i.e. it uses the initialization-is-resource-acquisition idiom.

Definition at line 2185 of file untbl.cxx.

Constructor & Destructor Documentation

RedlineFlagsInternGuard::RedlineFlagsInternGuard ( SwDoc rDoc,
RedlineFlags  eNewRedlineFlags,
RedlineFlags  eRedlineFlagsMask 
)
RedlineFlagsInternGuard::~RedlineFlagsInternGuard ( )

Member Data Documentation

RedlineFlags const RedlineFlagsInternGuard::meOldRedlineFlags
private

Definition at line 2188 of file untbl.cxx.

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

SwDoc& RedlineFlagsInternGuard::mrDoc
private

Definition at line 2187 of file untbl.cxx.

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


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