summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdpoev.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdpoev.cxx')
-rw-r--r--svx/source/svdraw/svdpoev.cxx8
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();
}