[Libreoffice-commits] .: sc/qa

Kohei Yoshida kohei at kemper.freedesktop.org
Thu Jan 13 11:45:18 PST 2011


 sc/qa/unit/ucalc.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d042829a810847074d0e9479567bbe990385d3a5
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Thu Jan 13 14:45:01 2011 -0500

    Forgot to delete sheet at the end of the test.

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 9420312..2d00c6d 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -371,6 +371,8 @@ void Test::testSheetCopy()
     CPPUNIT_ASSERT_MESSAGE("rows 5 - 10 should be hidden", bHidden && nRow1 == 5 && nRow2 == 10);
     bHidden = m_pDoc->RowHidden(11, 0, &nRow1, &nRow2);
     CPPUNIT_ASSERT_MESSAGE("rows 11 - maxrow should be visible", !bHidden && nRow1 == 11 && nRow2 == MAXROW);
+
+    m_pDoc->DeleteTab(0);
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);


More information about the Libreoffice-commits mailing list