diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-18 17:06:17 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-03-01 22:20:55 +0100 |
commit | 92b98c5648c2fb82c4ff9b0e040a09a174eb3379 (patch) | |
tree | 9e2ea39cfafa12734a8a5f04c527dc05791d5f46 /lotuswordpro/source/filter | |
parent | f6625f29f2452a01282ec3a39c146c1ac4ea2ff7 (diff) |
guard against missing XFContentContainer
Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206
(cherry picked from commit 0063b891424ba7023d376d12a7c54522bca087c6)
(cherry picked from commit b2cc385892c24dba6481bff396d4125f58c92f65)
Reviewed-on: https://gerrit.libreoffice.org/20795
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 01ef568cbc3f33092c1ed3f04afced7cb85badf3)
Diffstat (limited to 'lotuswordpro/source/filter')
-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 7db7f92852a7..196647835cd1 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -880,7 +880,7 @@ void LwpPara::ParseDropcapContent() */ void LwpPara::AddBreakBefore(XFContentContainer* pCont) { - if (!m_pBreaks) + if (!m_pBreaks || !pCont) return; if (m_pBreaks->IsPageBreakBefore()) { |