summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-17 17:00:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-18 08:23:28 +0200
commit4dd7c0369d66aa7b30f2b9e547faa5fb2c7cd8dd (patch)
treeb3497428d040c18b167938fcc89f1e034ebafd45 /svx/source/engine3d
parent7dde426915ebbb7ea2ca3dc661f0a9ac70a26d5c (diff)
Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/scene3d.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 76d6a8931893..732eb210c435 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -547,8 +547,6 @@ void E3dScene::RotateScene (const Point& rRef, long /*nWink*/, double sn, double
long dyOutRectHalf = labs(UpperLeft.Y() - LowerRight.Y());
dyOutRectHalf /= 2;
- Rectangle RectQuelle(aOutRect), RectZiel(aOutRect);
-
// Only the center is moved. The corners are moved by NbcMove. For the
// rotation a cartesian coordinate system is used in which the pivot
// point is the origin, and the y-axis increases upward, the X-axis to
@@ -571,7 +569,7 @@ void E3dScene::RotateScene (const Point& rRef, long /*nWink*/, double sn, double
// positive direction!
{ // xnew = x * cos(alpha) - y * sin(alpha)
// ynew = x * sin(alpha) + y * cos(alpha)
- // Bottom Right is not rotated: the pages of RectQuelle must
+ // Bottom Right is not rotated: the pages of aOutRect must
// remain parallel to the coordinate axes.
NewCenter.X() = (long) (Center.X() * cs - Center.Y() * sn);
NewCenter.Y() = (long) (Center.X() * sn + Center.Y() * cs);