diff options
Diffstat (limited to 'tools/source/generic/b3dtrans.cxx')
-rw-r--r-- | tools/source/generic/b3dtrans.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx index bc830767c280..a28abe320868 100644 --- a/tools/source/generic/b3dtrans.cxx +++ b/tools/source/generic/b3dtrans.cxx @@ -447,7 +447,6 @@ void B3dCamera::CalcNewViewportValues() bool B3dCamera::CalcFocalLength() { double fWidth = GetDeviceRectangleWidth(); - bool bRetval = false; // Adjust focal length based on given position basegfx::B3DPoint aOldPosition; @@ -456,7 +455,7 @@ bool B3dCamera::CalcFocalLength() fFocalLength = aOldPosition.getZ() / fWidth * 35.0; if(fFocalLength < 5.0) fFocalLength = 5.0; - return bRetval; + return false; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |