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

coverity#1424321 Dereference after null check

Change-Id: Ieadf71b99180418a875914094c4769c9df9f1db2
üst 69095252
......@@ -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();
......
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