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 2626 of file document.hxx.

Constructor & Destructor Documentation

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

Definition at line 2629 of file document.hxx.

References assert(), mnFlagRestore, ScDocument::mnMutationGuardFlags, and mrDocument.

ScMutationDisable::~ScMutationDisable ( )
inline

Definition at line 2636 of file document.hxx.

References mnFlagRestore, ScDocument::mnMutationGuardFlags, and mrDocument.

Member Data Documentation

size_t ScMutationDisable::mnFlagRestore

Definition at line 2640 of file document.hxx.

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

ScDocument& ScMutationDisable::mrDocument

Definition at line 2641 of file document.hxx.

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


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