summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdraw.cxx
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/source/uibase/uiview/viewdraw.cxx
parentdf159d3cd0bce255e14839a81d921e73771ca886 (diff)
Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index f5eb9aa1895d..81a1c1bc910c 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -688,9 +688,9 @@ bool SwView::HasDrwObj(SdrObject *pSdrObj) const
if (pSdrObj->IsGroupObject())
{
SdrObjList* pList = pSdrObj->GetSubList();
- sal_uInt32 nCnt = pList->GetObjCount();
+ const size_t nCnt = pList->GetObjCount();
- for (sal_uInt32 i = 0; i < nCnt; i++)
+ for (size_t i = 0; i < nCnt; ++i)
if ((bRet = HasDrwObj(pList->GetObj(i))))
break;
}
@@ -707,9 +707,9 @@ bool SwView::HasOnlyObj(SdrObject *pSdrObj, sal_uInt32 eObjInventor) const
if (pSdrObj->IsGroupObject())
{
SdrObjList* pList = pSdrObj->GetSubList();
- sal_uInt32 nCnt = pList->GetObjCount();
+ const size_t nCnt = pList->GetObjCount();
- for (sal_uInt32 i = 0; i < nCnt; i++)
+ for (size_t i = 0; i < nCnt; ++i)
if ((bRet = HasOnlyObj(pList->GetObj(i), eObjInventor)) == false)
break;
}