diff options
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r-- | xfa/fxfa/parser/cxfa_document.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_document.cpp b/xfa/fxfa/parser/cxfa_document.cpp index 346690b484..a80d842325 100644 --- a/xfa/fxfa/parser/cxfa_document.cpp +++ b/xfa/fxfa/parser/cxfa_document.cpp @@ -269,10 +269,10 @@ FX_BOOL CXFA_Document::IsInteractive() { if (!pPDF) return FALSE; - CXFA_Node* pInteractive = pPDF->GetChild(0, XFA_Element::Interactive); - if (pInteractive) { + CXFA_Node* pFormFiller = pPDF->GetChild(0, XFA_Element::Interactive); + if (pFormFiller) { m_dwDocFlags |= XFA_DOCFLAG_HasInteractive; - if (pInteractive->TryContent(wsInteractive) && + if (pFormFiller->TryContent(wsInteractive) && wsInteractive == FX_WSTRC(L"1")) { m_dwDocFlags |= XFA_DOCFLAG_Interactive; return TRUE; |