summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-03 23:28:23 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-02 03:24:56 +0200
commite2d17fe71e322461004e9c2c52b91050a25584b6 (patch)
tree127ff4590f7d567ddfd696b73c07d789f89b064e
parent267f7a630b33f02a8dfda55945ee10b2c5f615f9 (diff)
a few more places without ScFormulaCell
Change-Id: I13ae80429e06fad5e28f1166a585656e8e4ec29f
-rw-r--r--sc/source/core/tool/interpr2.cxx4
-rw-r--r--sc/source/core/tool/interpr4.cxx8
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 );