diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-02 09:36:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-02 10:25:49 +0200 |
commit | 5806a7ed44f675f8c2d6aaf16a4347f3e11c9783 (patch) | |
tree | 974d4017183b8443c4a2884febd597dd4f46b447 /chart2 | |
parent | a3646d5572b770c74b7b8be80b1091c37a05abc6 (diff) |
cppcheck: Variable is assigned a value that is never used
Change-Id: Iab6eaf148af6219a7c60af23c56ee088f6438a63
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/SelectionHelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx index ee54fc8b90a3..fab28f5fbbad 100644 --- a/chart2/source/controller/main/SelectionHelper.cxx +++ b/chart2/source/controller/main/SelectionHelper.cxx @@ -256,14 +256,13 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper* bool bBackGroundHit = m_aSelectedOID.getObjectCID().equals( aPageCID ) || m_aSelectedOID.getObjectCID().equals( aWallCID ) || !m_aSelectedOID.isAutoGeneratedObject(); if( bBackGroundHit ) { - //todo: if more than one diagram is available in future do chack the list of all diagrams here + //todo: if more than one diagram is available in future do check the list of all diagrams here SdrObject* pDiagram = pDrawViewWrapper->getNamedSdrObject( aDiagramCID ); if( pDiagram ) { if( pDrawViewWrapper->IsObjectHit( pDiagram, rMousePos ) ) { m_aSelectedOID = ObjectIdentifier( aDiagramCID ); - pNewObj = pDiagram; } } } |