summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-13 13:55:13 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-14 15:35:49 -0400
commitd6c7fd2fcc5c9287e1d22d23c6291004f2dec297 (patch)
treeb3264f6d81178282e11c4e3317daa123fd93270a /sc/inc
parent51c449bc8765756c23054e9a1a8172603987024b (diff)
Reverse the logic of enable / disable idle flag...
so that true -> enabled and false -> disabled. This is much easier for human brain to process. Change-Id: I51059ee9090610ad8455a072b165860527cd9d50
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/document.hxx6
-rw-r--r--sc/inc/progress.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 67be28a9be18..8c3fac273d6d 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -356,7 +356,7 @@ private:
bool bCalcingAfterLoad; // in CalcAfterLoad TRUE
// don't construct/destruct listeners temporarily
bool bNoListening;
- bool bIdleDisabled;
+ bool mbIdleEnabled;
bool bInLinkUpdate; // TableLink or AreaLink
bool bChartListenerCollectionNeedsUpdate;
// are/were there RC_FORCED formula cells in the document (if set once to TRUE then set forever)
@@ -1538,8 +1538,8 @@ public:
void RepaintRange( const ScRange& rRange );
void RepaintRange( const ScRangeList& rRange );
- bool IsIdleDisabled() const { return bIdleDisabled; }
- void DisableIdle(bool bDo) { bIdleDisabled = bDo; }
+ bool IsIdleEnabled() const { return mbIdleEnabled; }
+ void EnableIdle(bool bDo) { mbIdleEnabled = bDo; }
bool IsDetectiveDirty() const { return bDetectiveDirty; }
void SetDetectiveDirty(bool bSet) { bDetectiveDirty = bSet; }
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx
index 0607c054dd42..52c1fe22ddf8 100644
--- a/sc/inc/progress.hxx
+++ b/sc/inc/progress.hxx
@@ -48,7 +48,7 @@ private:
static sal_uLong nInterpretProgress;
static sal_Bool bAllowInterpretProgress;
static ScDocument* pInterpretDoc;
- static sal_Bool bIdleWasDisabled;
+ static bool bIdleWasEnabled;
SfxProgress* pProgress;