diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-07 16:51:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-07 18:00:53 +0100 |
commit | 092e10a58283a5aef7f4118db54c1f6ac8637a0b (patch) | |
tree | 1903578a1d08eeb60b138265bd2eaba93bfc38dd /basegfx | |
parent | 539a0d00f9463412ab714ecc606118b6f4b08580 (diff) |
coverity#983562 Arguments in wrong order
attempt to silence this warning
Change-Id: Icd8fa41a63bd3fe70b956f7af1818325b471e0f6
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b3dpolypolygontools.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx index f61a09c0104c..ab41ff440782 100644 --- a/basegfx/source/polygon/b3dpolypolygontools.cxx +++ b/basegfx/source/polygon/b3dpolypolygontools.cxx @@ -354,20 +354,20 @@ namespace basegfx // vertical loop for(sal_uInt32 a(0L); a < nVerSeg; a++) { - const double fVer(fVerStart + (((fVerStop - fVerStart) * a) / nVerSeg)); + const double fVer1(fVerStart + (((fVerStop - fVerStart) * a) / nVerSeg)); const double fVer2(fVerStart + (((fVerStop - fVerStart) * (a + 1)) / nVerSeg)); // horizontal loop for(sal_uInt32 b(0L); b < nHorSeg; b++) { - const double fHor(fHorStart + (((fHorStop - fHorStart) * b) / nHorSeg)); + const double fHor1(fHorStart + (((fHorStop - fHorStart) * b) / nHorSeg)); const double fHor2(fHorStart + (((fHorStop - fHorStart) * (b + 1)) / nHorSeg)); B3DPolygon aNew; - aNew.append(getPointFromCartesian(fHor, fVer)); - aNew.append(getPointFromCartesian(fHor2, fVer)); + aNew.append(getPointFromCartesian(fHor1, fVer1)); + aNew.append(getPointFromCartesian(fHor2, fVer1)); aNew.append(getPointFromCartesian(fHor2, fVer2)); - aNew.append(getPointFromCartesian(fHor, fVer2)); + aNew.append(getPointFromCartesian(fHor1, fVer2)); if(bNormals) { |