diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 09:33:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 09:34:01 +0000 |
commit | e134bebe10f809214e48fadbc3006ddcf95731c9 (patch) | |
tree | 347a528cfc200e2f7108380516f872cdfd5c10cf | |
parent | 690952524ab2a1ee9e00aad17502da75931ffc88 (diff) |
coverity#1424321 Dereference after null check
Change-Id: Ieadf71b99180418a875914094c4769c9df9f1db2
-rw-r--r-- | oox/source/export/vmlexport.cxx | 2 |
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(); |