summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-30 09:33:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-30 09:34:01 +0000
commite134bebe10f809214e48fadbc3006ddcf95731c9 (patch)
tree347a528cfc200e2f7108380516f872cdfd5c10cf /oox/source
parent690952524ab2a1ee9e00aad17502da75931ffc88 (diff)
coverity#1424321 Dereference after null check
Change-Id: Ieadf71b99180418a875914094c4769c9df9f1db2
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/export/vmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index 766fb8f0cf91..1c5f62e5b8a2 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -609,7 +609,7 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const tools::Rectangle&
EscherPropSortStruct aStruct;
const SdrGrafObj* pSdrGrafObj = dynamic_cast<const SdrGrafObj*>(m_pSdrObject);
- if (pSdrGrafObj && pSdrGrafObj->isSignatureLine())
+ if (pSdrGrafObj && pSdrGrafObj->isSignatureLine() && m_pTextExport)
{
sax_fastparser::FastAttributeList* pAttrListSignatureLine
= FastSerializerHelper::createAttrList();