diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-13 14:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 11:38:03 +0200 |
commit | a4d059e2b139e1c0b49bbbf983112e15ea2f601b (patch) | |
tree | 532eaf5268db0e1e9de800b74d42eb2b7b895d45 /sd/source | |
parent | ae8a688555b951d447120800006a1f6abfe7ebb5 (diff) |
cid#704734 reference after null check
Change-Id: I54a51427347bdd363fc980db4c1ef1a1feb99177
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 6dfa1050da07..cc47322acdd5 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -286,7 +286,7 @@ sal_uInt32 PPTWriter::ImplProgBinaryTagContainer( SvStream* pStrm, SvMemoryStrea .WriteUInt32( (sal_uInt32)0x5f005f ).WriteUInt32( (sal_uInt32)0x50005f ) .WriteUInt32( (sal_uInt32)0x540050 ).WriteUInt16( (sal_uInt16)0x39 ); } - if ( pBinTagStrm ) + if ( pStrm && pBinTagStrm ) { sal_uInt32 nLen = pBinTagStrm->Tell(); nSize += nLen + 8; |