diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 12:18:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 15:02:43 +0100 |
commit | 90992d512cf4c8c83a02c329d7ac9757c8c3cfce (patch) | |
tree | f3e563d11093d0e1c71d042172c36a6a9a8b636f /sd | |
parent | 4920bbf768d893e0e0cbf5651f7ad30d11f817fc (diff) |
coverity#736798 Dereference before null check
Change-Id: I44402f7c644d60e2166956ca5f98955cc73e5bab
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index ecefc2df9294..d4d12b3ad083 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2576,7 +2576,7 @@ SdrObject* ImplSdPPTImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi if ( pObj ) { // further setup placeholder objects - if( dynamic_cast< const SdrPageObj *>( pObj ) != nullptr && pData ) + if (dynamic_cast<const SdrPageObj*>(pObj)) { const ProcessData* pProcessData=static_cast<const ProcessData*>(pData); if( pProcessData->pPage.page ) |