summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/camera3d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 14:18:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 10:19:36 +0200
commita5c200bddd51cba75d30f37a33541778ba8223b4 (patch)
tree521c015effb8f5e3089f71122b31bbb959ad4a8b /svx/source/engine3d/camera3d.cxx
parent09a4d2faa429cc52d603abc55d99723f39dc9023 (diff)
loplugin:unusedfields in svx
Change-Id: I027b70ee92ab07eb68452457c3ee45de3ad22c8b Reviewed-on: https://gerrit.libreoffice.org/39412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/engine3d/camera3d.cxx')
-rw-r--r--svx/source/engine3d/camera3d.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/svx/source/engine3d/camera3d.cxx b/svx/source/engine3d/camera3d.cxx
index f5c394614e44..b9ea65e56313 100644
--- a/svx/source/engine3d/camera3d.cxx
+++ b/svx/source/engine3d/camera3d.cxx
@@ -24,12 +24,9 @@ Camera3D::Camera3D(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLook
double fFocalLen) :
aResetPos(rPos),
aResetLookAt(rLookAt),
- fResetFocalLength(fFocalLen),
- fResetBankAngle(0),
fBankAngle(0),
bAutoAdjustProjection(true)
{
- SetVPD(0);
SetPosition(rPos);
SetLookAt(rLookAt);
SetFocalLength(fFocalLen);
@@ -37,8 +34,6 @@ Camera3D::Camera3D(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLook
Camera3D::Camera3D()
: aResetPos(0.0, 0.0, 1.0)
- , fResetFocalLength(0.0)
- , fResetBankAngle(0.0)
, fFocalLength(35.0)
, fBankAngle(0.0)
, bAutoAdjustProjection(false)
@@ -47,13 +42,10 @@ Camera3D::Camera3D()
// Set default values for reset
-void Camera3D::SetDefaults(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLookAt,
- double fFocalLen)
+void Camera3D::SetDefaults(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLookAt)
{
aResetPos = rPos;
aResetLookAt = rLookAt;
- fResetFocalLength = fFocalLen;
- fResetBankAngle = 0;
}
// Set ViewWindow and adjust PRP