Kaydet (Commit) 61e723e4 authored tarafından Michael Stahl's avatar Michael Stahl

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
üst 279b6e4b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment