summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-08-16 12:59:11 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-08-16 21:52:32 +0200
commit47e2fd0dc8d88af120508e463decf5b15563a629 (patch)
tree55ca49e099c6401643772db012fae6e3ec15c501 /sw/qa
parentdf159d3cd0bce255e14839a81d921e73771ca886 (diff)
Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index e12af858a32a..0665f492d080 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -318,14 +318,14 @@ void SwUiWriterTest::testShapeTextboxDelete()
SdrPage* pPage = pDoc->getIDocumentDrawModelAccess().GetDrawModel()->GetPage(0);
SdrObject* pObject = pPage->GetObj(0);
pWrtShell->SelectObj(Point(), 0, pObject);
- sal_Int32 nActual = pPage->GetObjCount();
+ size_t nActual = pPage->GetObjCount();
// Two objects on the draw page: the shape and its textbox.
- CPPUNIT_ASSERT_EQUAL(sal_Int32(2), nActual);
+ CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2), nActual);
pWrtShell->DelSelectedObj();
nActual = pPage->GetObjCount();
// Both (not only the shape) should be removed by now (the textbox wasn't removed, so this was 1).
- CPPUNIT_ASSERT_EQUAL(sal_Int32(0), nActual);
+ CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(0), nActual);
}
void SwUiWriterTest::testCp1000071()