summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-23 14:45:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 14:45:55 +0000
commit6cccfd6c63a0aac35770de3f712de14fc32fbb1d (patch)
tree66ecff0bd7c18e084edd6ef159b443163158909f /sd
parentcoverity#704735 Dereference after null check (diff)
downloadcore-6cccfd6c63a0aac35770de3f712de14fc32fbb1d.tar.gz
core-6cccfd6c63a0aac35770de3f712de14fc32fbb1d.zip
coverity#704736 Dereference after null check
Change-Id: Ib11b59696135f29375ec53332c526f0b5bcd638d
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 fed3b94c3c6a..37ae2cb859bd 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1506,7 +1506,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
}
}
DffRecordHeader aPageRecHd;
- if ( pPage && SeekToAktPage( &aPageRecHd ) )
+ if ( SeekToAktPage( &aPageRecHd ) )
{
sal_uLong nPageRecEnd = aPageRecHd.GetRecEndFilePos();