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());