[Libreoffice-commits] core.git: lotuswordpro/source

Caolán McNamara caolanm at redhat.com
Tue Dec 29 02:55:57 PST 2015


 lotuswordpro/source/filter/lwppara.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 78c6be9cf3c9c3c87d2f41981bdc61047171eafe
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 29 10:54:53 2015 +0000

    return early if Container invalidated
    
    Change-Id: I3983070f1fe447e4b75b956cf95d3b3c5266b3f9

diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 7cd676c..65784f1 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -247,6 +247,8 @@ void LwpPara::Parse(IXFStream* pOutputStream)
 {
     m_pXFContainer = new XFContentContainer;
     XFConvert(m_pXFContainer);
+    if (!m_pXFContainer)
+        return;
     m_pXFContainer->ToXml(pOutputStream);
     m_pXFContainer->Reset();
     delete m_pXFContainer;


More information about the Libreoffice-commits mailing list