summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 14:45:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 08:14:31 +0200
commitff1f6a5fc25db062e9a83521a657062f62f03ba6 (patch)
tree272dfa9af5ead31b61c1be34afcaf4402ff4ad77 /tools
parent224b770fa77fe12ad5dc543ce020aca316b6558d (diff)
remove UL/L suffixes from integer constants in initialiser/call expressions
Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300 Reviewed-on: https://gerrit.libreoffice.org/41214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx4
-rw-r--r--tools/source/stream/vcompat.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 5af6fe04abbd..e42457e0860c 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1833,7 +1833,7 @@ Polygon::Polygon(const basegfx::B2DPolygon& rPolygon)
basegfx::B2DCubicBezier aBezier;
aBezier.setStartPoint(rPolygon.getB2DPoint(0));
- for(sal_uInt32 a(0L); a < nLoopCount; a++)
+ for(sal_uInt32 a(0); a < nLoopCount; a++)
{
// add current point (always) and remember StartPointIndex for evtl. later corrections
const Point aStartPoint(FRound(aBezier.getStartPoint().getX()), FRound(aBezier.getStartPoint().getY()));
@@ -1920,7 +1920,7 @@ Polygon::Polygon(const basegfx::B2DPolygon& rPolygon)
mpImplPolygon = new ImplPolygon( static_cast< sal_uInt16 >(nTargetCount) );
sal_uInt16 nIndex(0);
- for(sal_uInt32 a(0L); a < nB2DLocalCount; a++)
+ for(sal_uInt32 a(0); a < nB2DLocalCount; a++)
{
basegfx::B2DPoint aB2DPoint(rPolygon.getB2DPoint(a));
Point aPoint(FRound(aB2DPoint.getX()), FRound(aB2DPoint.getY()));
diff --git a/tools/source/stream/vcompat.cxx b/tools/source/stream/vcompat.cxx
index 490fc6f6c746..cd75978a8c73 100644
--- a/tools/source/stream/vcompat.cxx
+++ b/tools/source/stream/vcompat.cxx
@@ -33,7 +33,7 @@ VersionCompat::VersionCompat( SvStream& rStm, StreamMode nStreamMode, sal_uInt16
{
mpRWStm->WriteUInt16( mnVersion );
mnTotalSize = ( mnCompatPos = mpRWStm->Tell() ) + 4UL;
- mpRWStm->SeekRel( 4L );
+ mpRWStm->SeekRel( 4 );
}
else
{