diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 0dd39a03ce9d..fccc95faa8de 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx @@ -602,7 +602,7 @@ bool SdrCreateView::EndCreateObj(SdrCreateCmd eCmd) if (pCurrentCreate!=nullptr) { - sal_uIntPtr nCount=maDragStat.GetPointCount(); + sal_uInt32 nCount=maDragStat.GetPointCount(); if (nCount<=1 && eCmd==SdrCreateCmd::ForceEnd) { @@ -611,7 +611,7 @@ bool SdrCreateView::EndCreateObj(SdrCreateCmd eCmd) } bool bPntsEq=nCount>1; - sal_uIntPtr i=1; + sal_uInt32 i=1; Point aP0=maDragStat.GetPoint(0); while (bPntsEq && i