summaryrefslogtreecommitdiffstats
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-04 13:27:31 +0200
committerNoel Grandin <noel@peralex.com>2014-11-04 14:45:57 +0200
commit14bd00a648fb31d849f20bdda008956b591180eb (patch)
treef68f272a0f83efa5d916952b376ab43688cf6c4d /svx/source
parentrename nWink0->nAngle0 (diff)
downloadcore-14bd00a648fb31d849f20bdda008956b591180eb.tar.gz
core-14bd00a648fb31d849f20bdda008956b591180eb.zip
rename nWink1->nAngle1
Change-Id: I8cc5c9e16e8e0ebea1ea532c762e560e68f029a9
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svddrgmt.cxx8
-rw-r--r--svx/source/svdraw/svdopath.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 706f9f9b1836..6a814d259b0b 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -2543,11 +2543,11 @@ SdrDragMirror::SdrDragMirror(SdrDragView& rNewView)
bool SdrDragMirror::ImpCheckSide(const Point& rPnt) const
{
- long nWink1=GetAngle(rPnt-DragStat().GetRef1());
- nWink1-=nWink;
- nWink1=NormAngle360(nWink1);
+ long nAngle1=GetAngle(rPnt-DragStat().GetRef1());
+ nAngle1-=nWink;
+ nAngle1=NormAngle360(nAngle1);
- return nWink1<18000;
+ return nAngle1<18000;
}
void SdrDragMirror::TakeSdrDragComment(OUString& rStr) const
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 82fec14b408d..fc700a8bdb59 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -756,11 +756,11 @@ bool ImpPathForDragAndCreate::movePathDrag( SdrDragStat& rDrag ) const
{
Point aPt(mpSdrPathDragData->aXP[nNextPnt]);
aPt-=rDrag.GetNow();
- long nWink1=GetAngle(aPt);
+ long nAngle1=GetAngle(aPt);
aPt=rDrag.GetNow();
aPt-=mpSdrPathDragData->aXP[nPrevPnt];
long nWink2=GetAngle(aPt);
- long nDiff=nWink1-nWink2;
+ long nDiff=nAngle1-nWink2;
nDiff=std::abs(nDiff);
mpSdrPathDragData->bEliminate=nDiff<=rDrag.GetView()->GetEliminatePolyPointLimitAngle();
if (mpSdrPathDragData->bEliminate) { // adapt position, Smooth is true for the ends