[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/qa

Kohei Yoshida kohei.yoshida at collabora.com
Fri May 23 06:36:19 PDT 2014


 sc/qa/unit/ucalc.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 959a17b9c2a2afac9946be44beb646c273311887
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Fri May 23 09:35:39 2014 -0400

    Forgot to remove debug statements.
    
    Change-Id: I7653efc19bf590bb5456128b270dd1d59c974599
    (cherry picked from commit 68ec7f482812da5534844028915d4e376af39e50)

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 38f7a3b..d8f1437 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -1373,7 +1373,6 @@ void Test::testFormulaDepTrackingDeleteRow()
 
     // A4 should have a broadcaster with A5 listening to it.
     SvtBroadcaster* pBC = m_pDoc->GetBroadcaster(ScAddress(0,4,0));
-    fprintf(stdout, "Test::testFormulaDepTrackingDeleteRow:   broadcaster at A5 = %p\n", pBC);
     CPPUNIT_ASSERT(pBC);
     SvtBroadcaster::ListenersType* pListeners = &pBC->GetAllListeners();
     CPPUNIT_ASSERT_MESSAGE("A5 should have one listener.", pListeners->size() == 1);
@@ -1384,16 +1383,13 @@ void Test::testFormulaDepTrackingDeleteRow()
     CPPUNIT_ASSERT_EQUAL(9.0, m_pDoc->GetValue(ScAddress(0,4,0)));
     CPPUNIT_ASSERT_EQUAL(90.0, m_pDoc->GetValue(ScAddress(0,5,0)));
 
-    fprintf(stdout, "Test::testFormulaDepTrackingDeleteRow:   Deleting row 2....\n");
     // Delete row 2.
     ScDocFunc& rFunc = getDocShell().GetDocFunc();
     ScMarkData aMark;
     aMark.SelectOneTable(0);
     rFunc.DeleteCells(ScRange(0,1,0,MAXCOL,1,0), &aMark, DEL_CELLSUP, true, true);
-    fprintf(stdout, "Test::testFormulaDepTrackingDeleteRow:   Done deleting row 2.\n");
 
     pBC = m_pDoc->GetBroadcaster(ScAddress(0,3,0));
-    fprintf(stdout, "Test::testFormulaDepTrackingDeleteRow:   broadcaster at A4 = %p\n", pBC);
     CPPUNIT_ASSERT_MESSAGE("Broadcaster at A5 should have shifted to A4.", pBC);
     pListeners = &pBC->GetAllListeners();
     CPPUNIT_ASSERT_MESSAGE("A3 should have one listener.", pListeners->size() == 1);


More information about the Libreoffice-commits mailing list