summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Dhingra <gauravdhingra.gxyd@gmail.com>2016-12-03 12:42:42 +0530
committerMichael Stahl <mstahl@redhat.com>2016-12-07 15:55:23 +0000
commitc52745f8a3743841a4de030928c61d22063dd8ec (patch)
treea93d486f8a2c11593be7a18fdf689b0083772c14
parentb7d9a37acfa1fdbc48b9fecc088d60043623408d (diff)
tdf#75280 Convert few inappropriate use of sal_uIntPtr to better integer types
partial fix for Tdf#75280 Change-Id: I81d78449b709c246289ebf6bf3e6cabf1198adcb Reviewed-on: https://gerrit.libreoffice.org/31579 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--svx/source/svdraw/svdsnpv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx
index 2129b24a1a3c..bacf45228936 100644
--- a/svx/source/svdraw/svdsnpv.cxx
+++ b/svx/source/svdraw/svdsnpv.cxx
@@ -328,8 +328,8 @@ SdrSnap SdrSnapView::SnapPos(Point& rPnt, const SdrPageView* pPV) const
a=y- ys ; if (std::abs(a)<=my) { dy1=-a; if (std::abs(dy1)<std::abs(dy)) dy=dy1; } // right edge of paper
}
if (bOFrmSnap || bOPntSnap) {
- sal_uIntPtr nMaxPointSnapCount=200;
- sal_uIntPtr nMaxFrameSnapCount=200;
+ sal_uInt32 nMaxPointSnapCount=200;
+ sal_uInt32 nMaxFrameSnapCount=200;
// go back to SdrIterMode::DeepNoGroups runthrough for snap to object comparisons
SdrObjListIter aIter(*pPV->GetPage(),SdrIterMode::DeepNoGroups,true);