[Libreoffice-commits] core.git: svx/source
Regis (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 12 08:43:26 UTC 2019
svx/source/svdraw/svdcrtv.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 70040ba199ab34a792beb34cbafdbc8edc0e22ea
Author: Regis <regis.perdreau at gmail.com>
AuthorDate: Tue Apr 9 18:48:27 2019 +0200
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Fri Apr 12 10:42:40 2019 +0200
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 at cib.de>
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<nCount) { bPntsEq=aP0==maDragStat.GetPoint(i); i++; }
More information about the Libreoffice-commits
mailing list