summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-29 00:09:59 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-29 09:27:48 -0500
commitf4b3cef45cc8c02ccc7139c644ac4b20079bbc5d (patch)
treedc9d55c8d1b4a2b7b27197b6f805363c6a86a013 /sc/qa
parent0532733965f78f71a41983815d4e0525c07f9019 (diff)
We don't need this hack anymore for unit test.
I've addressed the root cause the right way. Change-Id: I1b3b13d28e4acc9f9ec814c0ad242166aa34a65e
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 6a2ac0fbfcfe..c6778a476219 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -5150,7 +5150,6 @@ void Test::testMergedCells()
ScRange aRange(0,2,0,MAXCOL,2,0);
ScMarkData aMark;
aMark.SetMarkArea(aRange);
- m_pDoc->SetInTest();
m_xDocShRef->GetDocFunc().InsertCells(aRange, &aMark, INS_INSROWS, true, true);
m_pDoc->ExtendMerge(1, 1, nEndCol, nEndRow, 0, false);
cout << nEndRow << nEndCol;
@@ -5479,7 +5478,6 @@ void Test::testCopyPasteFormulas()
m_pDoc->SetString(0,4,0, "=$Sheet2.A$1");
// to prevent ScEditableTester in ScDocFunc::MoveBlock
- m_pDoc->SetInTest();
ASSERT_DOUBLES_EQUAL(m_pDoc->GetValue(0,0,0), 1.0);
ASSERT_DOUBLES_EQUAL(m_pDoc->GetValue(0,1,0), 1.0);
ScDocFunc& rDocFunc = m_xDocShRef->GetDocFunc();