diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-02 10:06:31 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-02 11:04:17 -0400 |
commit | 14f230d30fd10d1b390102fa30f4bd8a3da6eb6a (patch) | |
tree | 343c1006b028fd00b86b934cb4b3b690e30677ce /sc | |
parent | 09c38e8ffdd24862e885810adc610bfc3e51ff6e (diff) |
A little more check won't hurt...
Change-Id: I1cd3fb194b78eb11cb91b7779cab32a461046d9f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 7c2c1af5807b..66ad16967d31 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -5214,11 +5214,13 @@ void Test::testShiftCells() m_pDoc->InsertCol(3, 0, 3, 0, 3, 1); OUString aStr = m_pDoc->GetString(5, 3, 0); CPPUNIT_ASSERT_MESSAGE("We should have a string cell here.", aStr == aTestVal); + CPPUNIT_ASSERT_MESSAGE("D5 is supposed to be blank.", m_pDoc->IsBlockEmpty(0, 3, 4, 3, 4)); // Delete cell D5, to shift the text cell back into D5. m_pDoc->DeleteCol(3, 0, 3, 0, 3, 1); aStr = m_pDoc->GetString(4, 3, 0); CPPUNIT_ASSERT_MESSAGE("We should have a string cell here.", aStr == aTestVal); + CPPUNIT_ASSERT_MESSAGE("E5 is supposed to be blank.", m_pDoc->IsBlockEmpty(0, 4, 4, 4, 4)); m_pDoc->DeleteTab(0); } |