diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-18 17:06:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-18 17:07:53 +0000 |
commit | b2cc385892c24dba6481bff396d4125f58c92f65 (patch) | |
tree | 65b4d1e89a28523479a1ebed353317141d94799d /lotuswordpro | |
parent | 3ac3aff895ceb466934a2e22641f5340ea6d23f7 (diff) |
guard against missing XFContentContainer
Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206
(cherry picked from commit 0063b891424ba7023d376d12a7c54522bca087c6)
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 99a2132fb6ee..725b9149f00e 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -845,7 +845,7 @@ void LwpPara::ParseDropcapContent() */ void LwpPara::AddBreakBefore(XFContentContainer* pCont) { - if (!m_pBreaks) + if (!m_pBreaks || !pCont) return; if (m_pBreaks->IsPageBreakBefore()) { |