summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-02-15 13:49:43 +0100
committerEike Rathke <erack@redhat.com>2013-02-15 13:57:27 +0100
commita60712be0e05ec2c2e3d48ec77511412151988ea (patch)
tree77bbe9b66e92262e7020006cd17c3ac8e52e1535 /formula/inc
parentff319d052659974d1aa5d6ac8c468a7259a46cc4 (diff)
renamed SetRecalcMode...() to SetExclusiveRecalcMode...()
To emphasize exclusiveness of the four basic recalc modes renamed the corresponding methods. Change-Id: If6f99d2c84e4a042a3a3e3640cf416d306a2d0c5
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/formula/tokenarray.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/formula/inc/formula/tokenarray.hxx b/formula/inc/formula/tokenarray.hxx
index e9041acb049a..32d871016e7b 100644
--- a/formula/inc/formula/tokenarray.hxx
+++ b/formula/inc/formula/tokenarray.hxx
@@ -84,7 +84,7 @@ protected:
inline ScRecalcMode GetCombinedBitsRecalcMode() const
{ return nMode & ~RECALCMODE_EMASK; }
/** Exclusive bits already set in nMode are
- zero'ed, nVal may contain combined bits, but
+ zero'ed, nBits may contain combined bits, but
only one exclusive bit may be set! */
inline void SetMaskedRecalcMode( ScRecalcMode nBits )
{ nMode = GetCombinedBitsRecalcMode() | nBits; }
@@ -142,13 +142,13 @@ public:
void AddRecalcMode( ScRecalcMode nBits );
inline void ClearRecalcMode() { nMode = RECALCMODE_NORMAL; }
- inline void SetRecalcModeNormal()
+ inline void SetExclusiveRecalcModeNormal()
{ SetMaskedRecalcMode( RECALCMODE_NORMAL ); }
- inline void SetRecalcModeAlways()
+ inline void SetExclusiveRecalcModeAlways()
{ SetMaskedRecalcMode( RECALCMODE_ALWAYS ); }
- inline void SetRecalcModeOnLoad()
+ inline void SetExclusiveRecalcModeOnLoad()
{ SetMaskedRecalcMode( RECALCMODE_ONLOAD ); }
- inline void SetRecalcModeOnLoadOnce()
+ inline void SetExclusiveRecalcModeOnLoadOnce()
{ SetMaskedRecalcMode( RECALCMODE_ONLOAD_ONCE ); }
inline void SetRecalcModeForced()
{ nMode |= RECALCMODE_FORCED; }