| commit | 70040ba199ab34a792beb34cbafdbc8edc0e22ea | [log] |
|---|---|---|
| author | Regis <regis.perdreau@gmail.com> | Tue Apr 09 18:48:27 2019 +0200 |
| committer | Michael Stahl <Michael.Stahl@cib.de> | Fri Apr 12 10:42:40 2019 +0200 |
| tree | 2dc12ea8440371702be6d1ae40fbe0001e1f2785 | |
| parent | bc8b40ecbc140217b9b55a44adce506d724af297 [diff] |
tdf#75280 -Convert inappropriate use of sal_uIntPtr to better integ types Change-Id: I372d9ca4814d13a447b8ca05b83861491f4c5a55 Reviewed-on: https://gerrit.libreoffice.org/70470 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 0dd39a0..fccc95f 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx
@@ -602,7 +602,7 @@ if (pCurrentCreate!=nullptr) { sal_uIntPtr nCount=maDragStat.GetPointCount(); sal_uInt32 nCount=maDragStat.GetPointCount(); if (nCount<=1 && eCmd==SdrCreateCmd::ForceEnd) { @@ -611,7 +611,7 @@ } bool bPntsEq=nCount>1; sal_uIntPtr i=1; sal_uInt32 i=1; Point aP0=maDragStat.GetPoint(0); while (bPntsEq && i<nCount) { bPntsEq=aP0==maDragStat.GetPoint(i); i++; }