diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-16 12:59:11 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-16 21:52:32 +0200 |
commit | 47e2fd0dc8d88af120508e463decf5b15563a629 (patch) | |
tree | 55ca49e099c6401643772db012fae6e3ec15c501 /sd/qa | |
parent | df159d3cd0bce255e14839a81d921e73771ca886 (diff) |
Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 20c770edec8d..288ac794c87d 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -167,8 +167,8 @@ void SdFiltersTest::testSmoketest() const SdrPage *pPage = pDoc->GetPage (1); CPPUNIT_ASSERT_MESSAGE( "no page", pPage != NULL ); - sal_uIntPtr nObjs = pPage->GetObjCount(); - for (sal_uIntPtr i = 0; i < nObjs; i++) + const size_t nObjs = pPage->GetObjCount(); + for (size_t i = 0; i < nObjs; i++) { SdrObject *pObj = pPage->GetObj(i); SdrObjKind eKind = (SdrObjKind) pObj->GetObjIdentifier(); |