summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-14 12:18:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-14 15:02:43 +0100
commit90992d512cf4c8c83a02c329d7ac9757c8c3cfce (patch)
treef3e563d11093d0e1c71d042172c36a6a9a8b636f /sd
parentcoverity#736803 Dereference before null check (diff)
downloadcore-90992d512cf4c8c83a02c329d7ac9757c8c3cfce.tar.gz
core-90992d512cf4c8c83a02c329d7ac9757c8c3cfce.zip
coverity#736798 Dereference before null check
Change-Id: I44402f7c644d60e2166956ca5f98955cc73e5bab
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
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 )