[Libreoffice-commits] core.git: sc/qa
Kohei Yoshida
kohei.yoshida at gmail.com
Thu Mar 14 13:20:28 PDT 2013
sc/qa/unit/ucalc.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 8ff584704aa7bb3ec50e735bf7d1ff9674a45cb0
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Thu Mar 14 16:19:31 2013 -0400
Remove ambiguity for the windows build.
Change-Id: I9b94281f7acd2223686508baa219b87c13838d5c
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 57b00f4..f34dfb5 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -6042,7 +6042,8 @@ void Test::testCellTextWidth()
m_pDoc->SetString(0, 0, 0, "Only one cell");
pIter.reset(new ScColumnTextWidthIterator(*m_pDoc, aTopCell, MAXROW));
CPPUNIT_ASSERT_MESSAGE("Column should have a cell.", pIter->hasCell());
- CPPUNIT_ASSERT_EQUAL(0, pIter->getPos());
+ SCROW nTestRow = 0;
+ CPPUNIT_ASSERT_EQUAL(nTestRow, pIter->getPos());
// Setting a text width here should commit it to the column.
sal_uInt16 nTestVal = 432;
More information about the Libreoffice-commits
mailing list