cid#704734 reference after null check

Change-Id: I54a51427347bdd363fc980db4c1ef1a1feb99177
This commit is contained in:
Noel Grandin
2014-02-13 14:11:04 +02:00
parent ae8a688555
commit a4d059e2b1

View File

@@ -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;