diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-18 17:06:17 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-22 10:18:47 +0000 |
commit | 01ef568cbc3f33092c1ed3f04afced7cb85badf3 (patch) | |
tree | b34a1494cab19714ea4feace0b920802fd2b43e6 /lotuswordpro | |
parent | a0a35440453102d215456e3e2f16b4ee207b16de (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>
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 ea746ddb4efb..e021833430ff 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()) { |