[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Sat Dec 12 13:03:24 PST 2015
lotuswordpro/source/filter/lwpgrfobj.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e9801b286b7af0a6043a3a70090a49c5959abe16
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Dec 12 21:02:44 2015 +0000
guard against empty XFDrawObjects
Change-Id: I9deb28a3a5420a43f8604a56145c8274bb4cc8d9
diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx
index f03a1d6..d81ac1c 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());
More information about the Libreoffice-commits
mailing list