Kaydet (Commit) 22ee3194 authored tarafından Caolán McNamara's avatar Caolán McNamara

guard against missing Foundry

Change-Id: I9147dc2bab312639a04d2e822cf99745d38d3b8d
üst b721fdcb
......@@ -264,8 +264,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