diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-30 14:18:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-03 10:19:36 +0200 |
commit | a5c200bddd51cba75d30f37a33541778ba8223b4 (patch) | |
tree | 521c015effb8f5e3089f71122b31bbb959ad4a8b /svx/source/engine3d/view3d.cxx | |
parent | 09a4d2faa429cc52d603abc55d99723f39dc9023 (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/view3d.cxx')
-rw-r--r-- | svx/source/engine3d/view3d.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index c48e2238c222..d90aba0823b7 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -1321,7 +1321,7 @@ void E3dView::InitScene(E3dScene* pScene, double fW, double fH, double fCamZ) aCam.SetPosAndLookAt(aCamPos, aLookAt); aCam.SetFocalLength(GetDefaultCamFocal()); - aCam.SetDefaults(basegfx::B3DPoint(0.0, 0.0, fDefaultCamPosZ), aLookAt, GetDefaultCamFocal()); + aCam.SetDefaults(basegfx::B3DPoint(0.0, 0.0, fDefaultCamPosZ), aLookAt); pScene->SetCamera(aCam); } @@ -1511,10 +1511,6 @@ void E3dView::ResetCreationActive () void E3dView::InitView () { eDragConstraint = E3dDragConstraint::XYZ; - fDefaultScaleY = - fDefaultScaleZ = 1.0; - fDefaultRotateY = - fDefaultRotateZ = 0.0; aDefaultLightColor = RGB_Color(COL_WHITE); aDefaultAmbientColor = RGB_Color(COL_BLACK); mpMirrorOverlay = nullptr; |