LibreOffice Module sc (master)
1
|
A pretty assertion that checks that the relevant bits in the are not set on the document at entry and exit. More...
#include <document.hxx>
Public Member Functions | |
ScMutationGuard (ScDocument &rDocument, ScMutationGuardFlags nFlags) | |
~ScMutationGuard () | |
Public Attributes | |
size_t | mnFlags |
ScDocument & | mrDocument |
A pretty assertion that checks that the relevant bits in the are not set on the document at entry and exit.
Its primary use is for debugging threading. As such, an is created to forbid mutation, and this condition is then asserted on at prominent sites that mutate .
Definition at line 2755 of file document.hxx.
|
inline |
Definition at line 2758 of file document.hxx.
References mnFlags, ScDocument::mnMutationGuardFlags, and mrDocument.
|
inline |
Definition at line 2765 of file document.hxx.
References mnFlags, ScDocument::mnMutationGuardFlags, and mrDocument.
size_t ScMutationGuard::mnFlags |
Definition at line 2769 of file document.hxx.
Referenced by ScMutationGuard(), and ~ScMutationGuard().
ScDocument& ScMutationGuard::mrDocument |
Definition at line 2770 of file document.hxx.
Referenced by ScMutationGuard(), and ~ScMutationGuard().