LibreOffice Module sc (master) 1
|
A pretty assertion that checks that the relevant bits in the @nFlags 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 @nFlags are not set on the document at entry and exit.
Its primary use is for debugging threading. As such, an @ScMutationDisable is created to forbid mutation, and this condition is then asserted on at prominent sites that mutate @nFlags.
Definition at line 2760 of file document.hxx.
|
inline |
Definition at line 2763 of file document.hxx.
References mnFlags, ScDocument::mnMutationGuardFlags, and mrDocument.
|
inline |
Definition at line 2770 of file document.hxx.
References mnFlags, ScDocument::mnMutationGuardFlags, and mrDocument.
size_t ScMutationGuard::mnFlags |
Definition at line 2774 of file document.hxx.
Referenced by ScMutationGuard(), and ~ScMutationGuard().
ScDocument& ScMutationGuard::mrDocument |
Definition at line 2775 of file document.hxx.
Referenced by ScMutationGuard(), and ~ScMutationGuard().