summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-04-09 21:45:19 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2012-04-09 21:45:58 -0400
commit53a40d5e0dd06735a6e44cd16ed47538108035de (patch)
tree65e553b59e9be2991c6648bb37bf94c22256b6f4 /sc
parent4be657d53281680ebfa72e96b93705599f4178e1 (diff)
Make this non-inline too; for easier debugging.
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/recursionhelper.hxx2
-rw-r--r--sc/source/core/tool/recursionhelper.cxx5
2 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/recursionhelper.hxx b/sc/inc/recursionhelper.hxx
index f2a258d153b9..929e24fd8c38 100644
--- a/sc/inc/recursionhelper.hxx
+++ b/sc/inc/recursionhelper.hxx
@@ -90,7 +90,7 @@ public:
bool & GetConvergingReference() { return bConverging; }
void StartIteration();
void ResumeIteration();
- void IncIteration() { ++nIteration; }
+ void IncIteration();
void EndIteration();
ScFormulaRecursionList::iterator GetLastIterationStart() { return aLastIterationStart; }
diff --git a/sc/source/core/tool/recursionhelper.cxx b/sc/source/core/tool/recursionhelper.cxx
index b98484b1fb0a..cbee50862297 100644
--- a/sc/source/core/tool/recursionhelper.cxx
+++ b/sc/source/core/tool/recursionhelper.cxx
@@ -84,6 +84,11 @@ void ScRecursionHelper::ResumeIteration()
aLastIterationStart = GetIterationStart();
}
+void ScRecursionHelper::IncIteration()
+{
+ ++nIteration;
+}
+
void ScRecursionHelper::EndIteration()
{
aRecursionFormulas.erase( GetIterationStart(), GetIterationEnd());