diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 4 | ||||
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index f4afd4e9754e..91397b4d632b 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -2274,8 +2274,8 @@ void ScInterpreter::ScDde() // Nach dem Laden muss neu interpretiert werden (Verknuepfungen aufbauen) - if ( pMyFormulaCell->GetCode()->IsRecalcModeNormal() ) - pMyFormulaCell->GetCode()->SetExclusiveRecalcModeOnLoad(); + if ( rArr.IsRecalcModeNormal() ) + rArr.SetExclusiveRecalcModeOnLoad(); // solange der Link nicht ausgewertet ist, Idle abklemmen // (um zirkulaere Referenzen zu vermeiden) diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 5b654b72b3bd..d98b0441904a 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -2647,8 +2647,8 @@ void ScInterpreter::ScExternal() else { // nach dem Laden Asyncs wieder anwerfen - if ( pMyFormulaCell->GetCode()->IsRecalcModeNormal() ) - pMyFormulaCell->GetCode()->SetExclusiveRecalcModeOnLoad(); + if ( rArr.IsRecalcModeNormal() ) + rArr.SetExclusiveRecalcModeOnLoad(); // garantiert identischer Handle bei identischem Aufruf?!? // sonst schei*e ... double nErg = 0.0; @@ -3019,9 +3019,9 @@ void ScInterpreter::ScExternal() if ( aCall.HasVarRes() ) // handle async functions { - if ( pMyFormulaCell->GetCode()->IsRecalcModeNormal() ) + if ( rArr.IsRecalcModeNormal() ) { - pMyFormulaCell->GetCode()->SetExclusiveRecalcModeOnLoad(); + rArr.SetExclusiveRecalcModeOnLoad(); } uno::Reference<sheet::XVolatileResult> xRes = aCall.GetVarRes(); ScAddInListener* pLis = ScAddInListener::Get( xRes ); |