[Libreoffice-commits] .: sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 30 12:32:57 PST 2013
sc/qa/unit/subsequent_export-test.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 086b070e31f607ffc4b057eef54669b95d774279
Author: Tor Lillqvist <tml at iki.fi>
Date: Wed Jan 30 22:31:42 2013 +0200
WaE: format %d expects argument of type int, but argument 2 has type long int
Change-Id: I0fe32f14641ed2c2cf1ee4e0f03aa9bef805ef1d
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 05c4873..5829f43 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -363,7 +363,7 @@ void ScExportTest::testMiscRowHeightExport()
int nExpectedHeight = aTestValues[ index ].pData[ i ].nExpectedHeight;
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) );
CPPUNIT_ASSERT_EQUAL(nExpectedHeight, nHeight);
}
More information about the Libreoffice-commits
mailing list