Kaydet (Commit) 086b070e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: format %d expects argument of type int, but argument 2 has type long int

Change-Id: I0fe32f14641ed2c2cf1ee4e0f03aa9bef805ef1d
üst 5f27719e
...@@ -363,7 +363,7 @@ void ScExportTest::testMiscRowHeightExport() ...@@ -363,7 +363,7 @@ void ScExportTest::testMiscRowHeightExport()
int nExpectedHeight = aTestValues[ index ].pData[ i ].nExpectedHeight; int nExpectedHeight = aTestValues[ index ].pData[ i ].nExpectedHeight;
for ( ; nRow <= nEndRow; ++nRow ) for ( ; nRow <= nEndRow; ++nRow )
{ {
printf("\t checking row %d for height %d\n", nRow, nExpectedHeight ); printf("\t checking row %ld for height %d\n", nRow, nExpectedHeight );
int nHeight = sc::TwipsToHMM( pDoc->GetRowHeight(nRow, nTab, false) ); int nHeight = sc::TwipsToHMM( pDoc->GetRowHeight(nRow, nTab, false) );
CPPUNIT_ASSERT_EQUAL(nExpectedHeight, nHeight); CPPUNIT_ASSERT_EQUAL(nExpectedHeight, nHeight);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment