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

coverity#704735 Dereference after null check

Change-Id: Ib2804949024dc3967d3eb2bcc7a82844f225be2f
üst 54ef215f
......@@ -407,7 +407,7 @@ HtmlExport::~HtmlExport()
/** get common export parameters from item set */
void HtmlExport::InitExportParameters( const Sequence< PropertyValue >& rParams )
{
mbImpress = mpDoc && mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS;
mbImpress = mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS;
sal_Int32 nArgs = rParams.getLength();
const PropertyValue* pParams = rParams.getConstArray();
......
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