diff options
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/progress.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx index d65c9b56ce37..340c4c18655f 100644 --- a/sc/inc/progress.hxx +++ b/sc/inc/progress.hxx @@ -49,6 +49,7 @@ private: static bool bAllowInterpretProgress; static ScDocument* pInterpretDoc; static bool bIdleWasEnabled; + bool bEnabled; SfxProgress* pProgress; @@ -143,6 +144,9 @@ public: return pProgress->GetState(); return 0; } + bool Enabled() const { return bEnabled; } + void Disable() { bEnabled = false; } + void Enable() { bEnabled = true; } }; #endif |