summaryrefslogtreecommitdiffstats
path: root/sc/qa
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/qa
parenttdf#103389: Resaving a DOCX document with two canvases leads to a broken file. (diff)
downloadcore-b5c65b53de6663e12a8192100d6e25494779c5c7.tar.gz
core-b5c65b53de6663e12a8192100d6e25494779c5c7.zip
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/qa')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 74028fb323ab..2780d083c45f 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -702,7 +702,7 @@ void Test::testFetchVectorRefArray()
// Clear everything and start over.
clearRange(m_pDoc, ScRange(0,0,0,MAXCOL,MAXROW,0));
- m_pDoc->ClearFormulaContext();
+ m_pDoc->PrepareFormulaCalc();
// Totally empty range in a totally empty column (Column A).
aArray = m_pDoc->FetchVectorRefArray(ScAddress(0,0,0), 3); // A1:A3