Kaydet (Commit) 01ef568c authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Miklos Vajna

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>
üst a0a35440
......@@ -880,7 +880,7 @@ void LwpPara::ParseDropcapContent()
*/
void LwpPara::AddBreakBefore(XFContentContainer* pCont)
{
if (!m_pBreaks)
if (!m_pBreaks || !pCont)
return;
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