diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 21:02:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 21:03:16 +0000 |
commit | c3c913a2958e4e984a829a60a668d6c0fb54d3aa (patch) | |
tree | 5e19833c79721c9e3de7fb809531b31f5e56c26a /lotuswordpro | |
parent | d2a9d99db0d439f13fab50845b043bf30487f5cb (diff) |
guard against empty XFDrawObjects
Change-Id: I9deb28a3a5420a43f8604a56145c8274bb4cc8d9
(cherry picked from commit e9801b286b7af0a6043a3a70090a49c5959abe16)
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpgrfobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx index f03a1d68c76f..d81ac1c1f00a 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.cxx +++ b/lotuswordpro/source/filter/lwpgrfobj.cxx @@ -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()); |