summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-14 16:19:31 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-14 16:22:54 -0400
commit8ff584704aa7bb3ec50e735bf7d1ff9674a45cb0 (patch)
tree6bae955341e4d11fed819915492f88050214a4d2 /sc/qa
parent568044ae7245b94099bd5511e17babdc15f6ca62 (diff)
Remove ambiguity for the windows build.
Change-Id: I9b94281f7acd2223686508baa219b87c13838d5c
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 57b00f44af98..f34dfb57710c 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;