Kaydet (Commit) ef6ee11e authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

guard against missing XFContentContainer

Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206
(cherry picked from commit 0063b891)
(cherry picked from commit b2cc3858)
Reviewed-on: https://gerrit.libreoffice.org/20795Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 01ef568c)
üst 0fd18469
...@@ -880,7 +880,7 @@ void LwpPara::ParseDropcapContent() ...@@ -880,7 +880,7 @@ void LwpPara::ParseDropcapContent()
*/ */
void LwpPara::AddBreakBefore(XFContentContainer* pCont) void LwpPara::AddBreakBefore(XFContentContainer* pCont)
{ {
if (!m_pBreaks) if (!m_pBreaks || !pCont)
return; return;
if (m_pBreaks->IsPageBreakBefore()) if (m_pBreaks->IsPageBreakBefore())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment