summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-23 14:43:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 14:43:37 +0000
commitad346fb791cac4637cfaf9a14093f87833a4e617 (patch)
tree1a45e7818283c80855da0ed298a9b7be12b4eb54 /sd
parent54ef215fa22c84d1b74f2bb63a2ec8f5a94f39fa (diff)
coverity#704735 Dereference after null check
Change-Id: Ib2804949024dc3967d3eb2bcc7a82844f225be2f
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/htmlex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 7b16e80fe50e..cc603f205d4a 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -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();