summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 14:59:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 22:11:58 +0200
commit1325d8161a74a3cedc169952eca10f4343e700c4 (patch)
tree16a084086ecf14d0b6febfea22e4905349809abe /tools
parent452fcbe0792aa10042bb8cd2cfd6cd29ca754be5 (diff)
loplugin:moveopt
An attempt that did not find anything convincing enough to finish it up and make it permanently active. So just leave it in /store for now. Change-Id: I1750e177655a4a510da100f880ba81bf762be277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114742 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/b3dtrans.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx
index 1f63cc2e381d..623dc99c3c68 100644
--- a/tools/source/generic/b3dtrans.cxx
+++ b/tools/source/generic/b3dtrans.cxx
@@ -414,8 +414,7 @@ void B3dCamera::DeviceRectangleChange()
void B3dCamera::CalcNewViewportValues()
{
- basegfx::B3DVector aViewVector(aPosition - aLookAt);
- basegfx::B3DVector aNewVPN(aViewVector);
+ basegfx::B3DVector aNewVPN(aPosition - aLookAt);
basegfx::B3DVector aNewVUV(0.0, 1.0, 0.0);
if(aNewVPN.getLength() < aNewVPN.getY())