diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-29 10:54:53 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-03-01 22:21:56 +0100 |
commit | 290e13100ecf6a75f0f49a4967b8aa197685ffd5 (patch) | |
tree | 3b54df804093f123c84a3ee8242eca15e524bb45 | |
parent | 5109f4e293fe33763548f5cdc75f7d1715e5e5c4 (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)
-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 196647835cd1..d4c7ee1ecc9c 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; |