From a3e2b884f33435eef369ce8cb8eee4bdc5db95af Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Nov 2014 14:45:00 +0200 Subject: rename nWink->nAngle Change-Id: I3a4cec65307c517684d4f8a291ca73b6a212a857 --- svx/source/svdraw/svdpoev.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/svdraw/svdpoev.cxx') 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(); } -- cgit