diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-29 10:54:53 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-01-04 12:20:44 +0100 |
commit | 5800444912989f58e827daabcb51be080b42bfb1 (patch) | |
tree | 23e8565b9bafdbe24119ec2b8c75a2cd727c6f73 /lotuswordpro | |
parent | 176802fa72c9952b1ea7ea632cfcaa198b9c0290 (diff) |
return early if Container invalidated
Change-Id: I3983070f1fe447e4b75b956cf95d3b3c5266b3f9
(cherry picked from commit 78c6be9cf3c9c3c87d2f41981bdc61047171eafe)
(cherry picked from commit 312ae095c17812f40d08997acc058a1314675af5)
Reviewed-on: https://gerrit.libreoffice.org/21001
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 7fd61a5e182597ddf41bb957dcaef11fe0eef816)
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 520be756ef9f..1825deee5e14 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -253,6 +253,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; |