Kaydet (Commit) 479b1863 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) David Tardon

guard against missing Foundry

Change-Id: I9147dc2bab312639a04d2e822cf99745d38d3b8d
(cherry picked from commit 22ee3194)
Reviewed-on: https://gerrit.libreoffice.org/20574Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 78e612e2
......@@ -267,8 +267,8 @@ void LwpPageLayout::ParseBackColor(XFPageMaster* pm1)
void LwpPageLayout::ParseFootNoteSeparator(XFPageMaster * pm1)
{
//Get the footnoteoptions for the root document
LwpDocument* pDocument = m_pFoundry->GetDocument();
if(pDocument)
LwpDocument* pDocument = m_pFoundry ? m_pFoundry->GetDocument() : nullptr;
if (pDocument)
{
LwpObjectID* pFontnodeId = pDocument->GetValidFootnoteOpts();
......
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