[Libreoffice-commits] core.git: svx/source

Thorsten Behrens thb at documentfoundation.org
Mon Mar 2 15:58:59 PST 2015


 svx/source/sdr/contact/viewcontactofe3dscene.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8acdf876c52240c5f3c6d428162b15d4e89f32a7
Author: Thorsten Behrens <thb at documentfoundation.org>
Date:   Tue Mar 3 00:53:52 2015 +0100

    Fix initializer copy'n'paste mistake
    
    aVRP and aVPN were initialized through the call to the same function
    
    Change-Id: I8ebc2d474521a4cedb5ed72bc14c8596887ac740

diff --git a/svx/source/sdr/contact/viewcontactofe3dscene.cxx b/svx/source/sdr/contact/viewcontactofe3dscene.cxx
index dfd4e66..36f24da 100644
--- a/svx/source/sdr/contact/viewcontactofe3dscene.cxx
+++ b/svx/source/sdr/contact/viewcontactofe3dscene.cxx
@@ -175,7 +175,7 @@ void ViewContactOfE3dScene::createViewInformation3D(const basegfx::B3DRange& rCo
         // calculate orientation from VRP, VPN and VUV
         const B3dCamera& rSceneCamera = GetE3dScene().GetCameraSet();
         const basegfx::B3DPoint aVRP(rSceneCamera.GetVRP());
-        const basegfx::B3DVector aVPN(rSceneCamera.GetVRP());
+        const basegfx::B3DVector aVPN(rSceneCamera.GetVPN());
         const basegfx::B3DVector aVUV(rSceneCamera.GetVUV());
 
         aOrientation.orientation(aVRP, aVPN, aVUV);


More information about the Libreoffice-commits mailing list