summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-18 14:37:34 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-19 13:40:23 -0400
commit2b2c20e131a6c752937705fa13f26cab4474b38f (patch)
treeab0edc6e02e66eb8c96ca846b398fdc76a05bc96 /sc/qa
parent6433ab29afa4d19000c14bdc0b64c0062972427e (diff)
Fix minor stuff in the test code...
Change-Id: I6c1ebf29d357c1a575a8b7d5421043ddec44f0af
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 4d93eb1e24be..b6addd190211 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -1206,8 +1206,8 @@ void Test::testFormulaGrouping()
// different cell functions.
aPos1.IncRow();
aPos2.IncRow();
- m_pDoc->SetString(aPos1, "=SUM(1,2,3,4,5)");
- m_pDoc->SetString(aPos2, "=AVERAGE(1,2,3,4,5)");
+ m_pDoc->SetString(aPos1, "=SUM(1;2;3;4;5)");
+ m_pDoc->SetString(aPos2, "=AVERAGE(1;2;3;4;5)");
nHashVal1 = m_pDoc->GetFormulaHash(aPos1);
nHashVal2 = m_pDoc->GetFormulaHash(aPos2);
CPPUNIT_ASSERT_MESSAGE("These hashes should differ.", nHashVal1 != nHashVal2);
@@ -1229,6 +1229,7 @@ void Test::testFormulaGrouping()
nHashVal1 = m_pDoc->GetFormulaHash(aPos1);
CPPUNIT_ASSERT_MESSAGE("These hashes should be equal.", nHashVal1 == nHashVal2);
+ // string constant vs numeric constant.
aPos1.IncRow();
aPos2.IncRow();
m_pDoc->SetString(aPos1, "=3*4*5");