summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/polygon/b3dpolypolygontools.cxx10
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)
{