Kaydet (Commit) 70040ba1 authored tarafından Regis's avatar Regis Kaydeden (comit) Michael Stahl

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: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst bc8b40ec
......@@ -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++; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment