summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin4.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2016-10-20 20:36:40 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2016-10-24 21:50:47 -0400
commitb5c65b53de6663e12a8192100d6e25494779c5c7 (patch)
tree94543849b1213e1a5f4707bbb37287e4196fe529 /sc/source/ui/view/gridwin4.cxx
parentf7c61b08d526c79ecd1522dff79386059b6125e0 (diff)
Rename ClearFormulaContext() to make it more representative.
In the future we might put more prep code in here, in addition to clearing the context data. Change-Id: I44256a0dfbe1301e2c1443b291f4635ca0ba80f5
Diffstat (limited to 'sc/source/ui/view/gridwin4.cxx')
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 15edd268d280..f449f7791f3a 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -515,7 +515,7 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod
// Flag drawn formula cells "unchanged".
rDoc.ResetChanged(ScRange(nX1, nY1, nTab, nX2, nY2, nTab));
- rDoc.ClearFormulaContext();
+ rDoc.PrepareFormulaCalc();
}
void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableInfo, ScOutputData& aOutputData,