Kaydet (Commit) c64aac2f authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735945 Dereference after null check

Change-Id: I960f91ad25036f39d173fdcd9425cd2196eaa11e
üst b0c7d88f
...@@ -3103,7 +3103,7 @@ void WW8Export::ExportDocument_Impl() ...@@ -3103,7 +3103,7 @@ void WW8Export::ExportDocument_Impl()
aTempData.EnableKillingFile(); aTempData.EnableKillingFile();
msfilter::MSCodec_Std97 aCtx; msfilter::MSCodec_Std97 aCtx;
bool bEncrypt = m_pWriter ? m_pWriter->InitStd97CodecUpdateMedium( aCtx ) : false; bool bEncrypt = GetWriter().InitStd97CodecUpdateMedium(aCtx);
if ( bEncrypt ) if ( bEncrypt )
{ {
GetWriter().SetStream( GetWriter().SetStream(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment