[Libreoffice-commits] core.git: sc/qa

Kohei Yoshida kohei.yoshida at collabora.com
Wed Feb 5 13:31:03 PST 2014


 sc/qa/unit/ucalc.cxx |    7 +------
 sc/qa/unit/ucalc.hxx |    4 ++--
 2 files changed, 3 insertions(+), 8 deletions(-)

New commits:
commit 444baecf4483c96e680fdb3f81c7197161720cbb
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Feb 5 16:35:00 2014 -0500

    Fix typo and a bit of cleanup.
    
    Change-Id: Id32fcce20a72774794f413a8b2217aeca1c5946c

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index a8a349f..d393aa4 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -4756,9 +4756,8 @@ void Test::testNoteDeleteCol()
     pDoc->DeleteTab(0);
 }
 
-void Test::testAerasWithNotes()
+void Test::testAreasWithNotes()
 {
-
     ScDocument* pDoc = getDocShell().GetDocument();
     OUString aSheet1("Sheet1");
     pDoc->InsertTab(0, aSheet1);
@@ -4860,10 +4859,6 @@ void Test::testAerasWithNotes()
     CPPUNIT_ASSERT_MESSAGE("No PrintAreaVer found", dataFound);
     CPPUNIT_ASSERT_MESSAGE("PrintAreaVer wrong row", row == 3);
 
-
-    std::cout << "cell area col " << col << std::endl;
-    std::cout << "cell area row " << row << std::endl;
-
     pDoc->DeleteTab(0);
 }
 
diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx
index 6bbaad0..7c9b5f8 100644
--- a/sc/qa/unit/ucalc.hxx
+++ b/sc/qa/unit/ucalc.hxx
@@ -300,7 +300,7 @@ public:
     void testShiftCells();
     void testNoteDeleteRow();
     void testNoteDeleteCol();
-    void testAerasWithNotes();
+    void testAreasWithNotes();
     void testAnchoredRotatedShape();
     void testCellTextWidth();
     void testEditTextIterator();
@@ -428,7 +428,7 @@ public:
     CPPUNIT_TEST(testShiftCells);
     CPPUNIT_TEST(testNoteDeleteRow);
     CPPUNIT_TEST(testNoteDeleteCol);
-    CPPUNIT_TEST(testAerasWithNotes);
+    CPPUNIT_TEST(testAreasWithNotes);
     CPPUNIT_TEST(testAnchoredRotatedShape);
     CPPUNIT_TEST(testCellTextWidth);
     CPPUNIT_TEST(testEditTextIterator);


More information about the Libreoffice-commits mailing list