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

guard against empty XFDrawObjects

Change-Id: I9deb28a3a5420a43f8604a56145c8274bb4cc8d9
üst 00340194
......@@ -199,7 +199,7 @@ void LwpGraphicObject::XFConvert (XFContentContainer* pCont)
pCont->Add(iter->get());
}
}
else if (this->IsGrafFormatValid())
else if (this->IsGrafFormatValid() && !m_vXFDrawObjects.empty())
{
XFImage* pImage = static_cast<XFImage*>(m_vXFDrawObjects.front().get());
......
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