diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-04 14:45:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-04 14:45:58 +0200 |
commit | a3e2b884f33435eef369ce8cb8eee4bdc5db95af (patch) | |
tree | 849073519a8722bdcb3897787a9872e73ed0d227 /svx/source/svdraw/svdpoev.cxx | |
parent | d1974ddf3a84d2a4a3082920f812857c85218fc2 (diff) |
rename nWink->nAngle
Change-Id: I3a4cec65307c517684d4f8a291ca73b6a212a857
Diffstat (limited to 'svx/source/svdraw/svdpoev.cxx')
-rw-r--r-- | svx/source/svdraw/svdpoev.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index 2d9394db6b2c..1c4395156da3 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -694,14 +694,14 @@ static void ImpRotate(Point& rPt, Point* pC1, Point* pC2, const void* p1, const if (pC2!=NULL) RotatePoint(*pC2,*(const Point*)p1,*(const double*)p3,*(const double*)p4); } -void SdrPolyEditView::RotateMarkedPoints(const Point& rRef, long nWink) +void SdrPolyEditView::RotateMarkedPoints(const Point& rRef, long nAngle) { ForceUndirtyMrkPnt(); OUString aStr(ImpGetResStr(STR_EditResize)); BegUndo(aStr,GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_ROTATE); - double nSin=sin(nWink*nPi180); - double nCos=cos(nWink*nPi180); - ImpTransformMarkedPoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); + double nSin=sin(nAngle*nPi180); + double nCos=cos(nAngle*nPi180); + ImpTransformMarkedPoints(ImpRotate,&rRef,&nAngle,&nSin,&nCos); EndUndo(); AdjustMarkHdl(); } |