summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-19 19:31:22 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-19 19:35:28 -0600
commit9f476dd17cb6299f4bdef4a0d07149d541c9c9a8 (patch)
tree3771845e3db56d53c21f97a466216f774e9f4669 /chart2
parent910b7bf6c6870fed56c4450ed54303a23f5a23da (diff)
coverity#705785 Dereference before null check
Change-Id: If83916c580c3c6ef64104c4052e87dc4ee168f17
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartTransferable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartTransferable.cxx b/chart2/source/controller/main/ChartTransferable.cxx
index 6761c4838bb5..1ee17dd61587 100644
--- a/chart2/source/controller/main/ChartTransferable.cxx
+++ b/chart2/source/controller/main/ChartTransferable.cxx
@@ -56,7 +56,7 @@ ChartTransferable::ChartTransferable( SdrModel* pDrawModel, SdrObject* pSelected
m_xMetaFileGraphic.set( aGraphic.GetXGraphic());
if ( m_bDrawing )
{
- m_pMarkedObjModel = ( pExchgView ? pExchgView->GetMarkedObjModel() : NULL );
+ m_pMarkedObjModel = pExchgView->GetMarkedObjModel();
}
delete pExchgView;
}