summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-04 13:58:51 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-04 16:39:21 +0100
commit2a6d81ac4031b5331a38371c5f8b934d720b0153 (patch)
treeaeb21cea48124a9f7b59dfe447caa773404fa591 /vcl
parent2ad1f195b875f2c1052c8ffab79602b9f6871ccb (diff)
translate "bEnde" variable
Change-Id: Ic29b569df25f8966326101d5179506b24483cb43
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/sgvspln.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 2a710b5cf6c4..94f2a825757b 100644
--- a/vcl/source/filter/sgvspln.cxx
+++ b/vcl/source/filter/sgvspln.cxx
@@ -693,7 +693,7 @@ bool Spline2Poly(Polygon& rSpln, bool Periodic, Polygon& rPoly)
double Step; // stepsize for t
double dt1,dt2,dt3; // delta t, y, ^3
double t;
- bool bEnde; // partial polynom ended?
+ bool bEnd; // partial polynom ended?
sal_uInt16 n; // number of partial polynoms to draw
sal_uInt16 i; // actual partial polynom
bool bOk; // all still ok?
@@ -709,10 +709,10 @@ bool Spline2Poly(Polygon& rSpln, bool Periodic, Polygon& rPoly)
i=0;
while (i<n) { // draw n partial polynoms
t=tv[i]+Step;
- bEnde=false;
- while (!bEnde) { // extrapolate one partial polynom
- bEnde=t>=tv[i+1];
- if (bEnde) t=tv[i+1];
+ bEnd=false;
+ while (!bEnd) { // extrapolate one partial polynom
+ bEnd=t>=tv[i+1];
+ if (bEnd) t=tv[i+1];
dt1=t-tv[i]; dt2=dt1*dt1; dt3=dt2*dt1;
x=long(ax[i]+bx[i]*dt1+cx[i]*dt2+dx[i]*dt3);
y=long(ay[i]+by[i]*dt1+cy[i]*dt2+dy[i]*dt3);