From 14f230d30fd10d1b390102fa30f4bd8a3da6eb6a Mon Sep 17 00:00:00 2001 From: Kohei Yoshida <kohei.yoshida@gmail.com> Date: Fri, 2 Nov 2012 10:06:31 -0400 Subject: A little more check won't hurt... Change-Id: I1cd3fb194b78eb11cb91b7779cab32a461046d9f --- sc/qa/unit/ucalc.cxx | 2 ++ 1 file changed, 2 insertions(+) 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); } -- cgit