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

Tor Lillqvist tml at iki.fi
Tue Feb 26 04:20:51 PST 2013


 sc/qa/unit/filters-test.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 13330bd6e33d1ca3b470740b5360e2756f06a7a4
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 14:20:06 2013 +0200

    WaE: int/SCROW format mismatch
    
    Change-Id: If33637df7f175f3f4248093034849177da681117

diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 19ad9fb..4393386 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -357,11 +357,11 @@ void impl_testLegacyCellAnchoredRotatedShape( ScDocument* pDoc, Rectangle& aRect
 
 
     ScDrawObjData* pData = ScDrawLayer::GetObjData( pObj );
-    printf("expected startrow %d actual %d\n", aAnchor.maStart.Row(), pData->maStart.Row()  );
+    printf("expected startrow %" SAL_PRIdINT32 " actual %" SAL_PRIdINT32 "\n", aAnchor.maStart.Row(), pData->maStart.Row()  );
     CPPUNIT_ASSERT_EQUAL( aAnchor.maStart.Row(), pData->maStart.Row() );
     printf("expected startcol %d actual %d\n", aAnchor.maStart.Col(), pData->maStart.Col()  );
     CPPUNIT_ASSERT_EQUAL( aAnchor.maStart.Col(), pData->maStart.Col() );
-    printf("expected endrow %d actual %d\n", aAnchor.maEnd.Row(), pData->maEnd.Row()  );
+    printf("expected endrow %" SAL_PRIdINT32 " actual %" SAL_PRIdINT32 "\n", aAnchor.maEnd.Row(), pData->maEnd.Row()  );
     CPPUNIT_ASSERT_EQUAL( aAnchor.maEnd.Row(), pData->maEnd.Row() );
     printf("expected endcol %d actual %d\n", aAnchor.maEnd.Col(), pData->maEnd.Col()  );
     CPPUNIT_ASSERT_EQUAL( aAnchor.maEnd.Col(), pData->maEnd.Col() );


More information about the Libreoffice-commits mailing list