LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
ScMutationDisable Struct Reference

Instantiate this to ensure that subsequent modification of the document will cause an assertion failure while this is in-scope. More...

#include <document.hxx>

Collaboration diagram for ScMutationDisable:
[legend]

Public Member Functions

 ScMutationDisable (ScDocument &rDocument, ScMutationGuardFlags nFlags)
 
 ~ScMutationDisable ()
 

Public Attributes

size_t mnFlagRestore
 
ScDocumentmrDocument
 

Detailed Description

Instantiate this to ensure that subsequent modification of the document will cause an assertion failure while this is in-scope.

Definition at line 2727 of file document.hxx.

Constructor & Destructor Documentation

◆ ScMutationDisable()

ScMutationDisable::ScMutationDisable ( ScDocument rDocument,
ScMutationGuardFlags  nFlags 
)
inline

Definition at line 2730 of file document.hxx.

References mnFlagRestore, ScDocument::mnMutationGuardFlags, and mrDocument.

◆ ~ScMutationDisable()

ScMutationDisable::~ScMutationDisable ( )
inline

Definition at line 2737 of file document.hxx.

References mnFlagRestore, ScDocument::mnMutationGuardFlags, and mrDocument.

Member Data Documentation

◆ mnFlagRestore

size_t ScMutationDisable::mnFlagRestore

Definition at line 2741 of file document.hxx.

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

◆ mrDocument

ScDocument& ScMutationDisable::mrDocument

Definition at line 2742 of file document.hxx.

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


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