summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-12 15:30:10 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-12 17:28:49 +0100
commit61e723e4699e9d545479fb4e6ea04ee28290dfda (patch)
treeea31f578742baa152189db8a53a5ad9fa8c8eb06 /svx
parent279b6e4b75e74c743ca018435c1d7644c71b9e0c (diff)
svx: PVS-Studio V603 The object was created but it is not being used
Seems the values in the default ctor don't matter much, it'll all be overwritten by assignment later. Change-Id: Ie59546176c8bf9eecafd94d417fd8e5da2262a1a
Diffstat (limited to 'svx')
-rw-r--r--svx/source/engine3d/camera3d.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/engine3d/camera3d.cxx b/svx/source/engine3d/camera3d.cxx
index d131d8756b9e..ef2e4d711c9f 100644
--- a/svx/source/engine3d/camera3d.cxx
+++ b/svx/source/engine3d/camera3d.cxx
@@ -36,14 +36,13 @@ Camera3D::Camera3D(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLook
}
Camera3D::Camera3D()
- : fResetFocalLength(0.0)
+ : aResetPos(0.0, 0.0, 1.0)
+ , fResetFocalLength(0.0)
, fResetBankAngle(0.0)
- , fFocalLength(0.0)
+ , fFocalLength(35.0)
, fBankAngle(0.0)
, bAutoAdjustProjection(false)
{
- basegfx::B3DPoint aVector3D(0.0 ,0.0 ,1.0);
- Camera3D(aVector3D, basegfx::B3DPoint());
}
// Set default values for reset