summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 10:50:29 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 11:25:18 +0200
commit9cfa0810bd4af4c1ebfcedaa62e82db87b3aea08 (patch)
treec97422fd1f780aaf6b7605e41516b5f442f0ffe4 /chart2/source/controller/main/DragMethod_RotateDiagram.cxx
parentc473472fc03dc71f237caeb36395ce155121288a (diff)
clang-tidy performance-unnecessary-value-param in chart2
Change-Id: Id33dce9714737dd28ce48c22f966c9747c2db20b
Diffstat (limited to 'chart2/source/controller/main/DragMethod_RotateDiagram.cxx')
-rw-r--r--chart2/source/controller/main/DragMethod_RotateDiagram.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/DragMethod_RotateDiagram.cxx b/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
index d07ecfdae0f0..1398ebeb10b8 100644
--- a/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
+++ b/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
@@ -202,7 +202,7 @@ void DragMethod_RotateDiagram::CreateOverlayGeometry(sdr::overlay::OverlayManage
if(m_aWireframePolyPolygon.count() && m_pScene)
{
const sdr::contact::ViewContactOfE3dScene& rVCScene = static_cast< sdr::contact::ViewContactOfE3dScene& >(m_pScene->GetViewContact());
- const drawinglayer::geometry::ViewInformation3D aViewInfo3D(rVCScene.getViewInformation3D());
+ const drawinglayer::geometry::ViewInformation3D& aViewInfo3D(rVCScene.getViewInformation3D());
const basegfx::B3DHomMatrix aWorldToView(aViewInfo3D.getDeviceToView() * aViewInfo3D.getProjection() * aViewInfo3D.getOrientation());
const basegfx::B3DHomMatrix aTransform(aWorldToView * aCurrentTransform);