summaryrefslogtreecommitdiff
path: root/svx/source/form
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 /svx/source/form
parentdf159d3cd0bce255e14839a81d921e73771ca886 (diff)
Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/fmpage.cxx4
-rw-r--r--svx/source/form/navigatortreemodel.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmpage.cxx b/svx/source/form/fmpage.cxx
index abf3a57c54d5..252ce39752fd 100644
--- a/svx/source/form/fmpage.cxx
+++ b/svx/source/form/fmpage.cxx
@@ -119,7 +119,7 @@ SdrPage* FmFormPage::Clone() const
}
-void FmFormPage::InsertObject(SdrObject* pObj, sal_uLong nPos,
+void FmFormPage::InsertObject(SdrObject* pObj, size_t nPos,
const SdrInsertReason* pReason)
{
SdrPage::InsertObject( pObj, nPos, pReason );
@@ -206,7 +206,7 @@ bool FmFormPage::RequestHelp( Window* pWindow, SdrView* pView,
}
-SdrObject* FmFormPage::RemoveObject(sal_uLong nObjNum)
+SdrObject* FmFormPage::RemoveObject(size_t nObjNum)
{
SdrObject* pObj = SdrPage::RemoveObject(nObjNum);
if (pObj && GetModel())
diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx
index 7ae2d7eb8385..6a5d79058e69 100644
--- a/svx/source/form/navigatortreemodel.cxx
+++ b/svx/source/form/navigatortreemodel.cxx
@@ -785,7 +785,7 @@ namespace svxform
if ( pObject->ISA(SdrObjGroup) )
{ // rekursiv absteigen
const SdrObjList *pChildren = ((SdrObjGroup*)pObject)->GetSubList();
- for ( sal_uInt16 i=0; i<pChildren->GetObjCount(); ++i )
+ for ( size_t i=0; i<pChildren->GetObjCount(); ++i )
{
SdrObject* pCurrent = pChildren->GetObj(i);
if (!InsertFormComponent(rHint, pCurrent))