diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-01 04:26:08 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-01 04:27:02 +0200 |
commit | 98a5031b225d0ba62454e14ed719fd2c7c32aa84 (patch) | |
tree | 267cb078798150aa881d275acc0edbd0b29e91b4 /sc | |
parent | 0034110ca6e68e2d3bd6fef11f1b0698738f24b0 (diff) |
with SetInTest it is possible to use some more ScDocFunc methods
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 080bf3c79c99..913239543e4b 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -3903,11 +3903,11 @@ void Test::testMergedCells() ScRange aRange(0,2,0,MAXCOL,2,0); ScMarkData aMark; aMark.SetMarkArea(aRange); + m_pDoc->SetInTest(); aDocFunc.InsertCells(aRange, &aMark, INS_INSROWS, true, true); m_pDoc->ExtendMerge( 1, 1, nEndCol, nEndRow, 0, false); cout << nEndRow << nEndCol; - //ScEditableTester won't work without an SfxMedium/XStorage - //CPPUNIT_ASSERT_MESSAGE("did not increase merge area", nEndCol == 3 && nEndRow == 4); + CPPUNIT_ASSERT_MESSAGE("did not increase merge area", nEndCol == 3 && nEndRow == 4); m_pDoc->DeleteTab(0); } |