diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-05 16:35:00 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-05 16:35:46 -0500 |
commit | 444baecf4483c96e680fdb3f81c7197161720cbb (patch) | |
tree | 401a6a73044379812df04183b05b7701710a41fe /sc | |
parent | 92532e9543d58b270a153c612fc34a8d7de6abee (diff) |
Fix typo and a bit of cleanup.
Change-Id: Id32fcce20a72774794f413a8b2217aeca1c5946c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 7 | ||||
-rw-r--r-- | sc/qa/unit/ucalc.hxx | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index a8a349f44224..d393aa4a4e77 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 6bbaad0157a3..7c9b5f80ab3e 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); |