oox/source/export/vmlexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e134bebe10f809214e48fadbc3006ddcf95731c9 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Nov 30 09:33:56 2017 +0000 coverity#1424321 Dereference after null check Change-Id: Ieadf71b99180418a875914094c4769c9df9f1db2 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();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits