From b94d7c9216160269d43a722b8e216790ba4b5d3b Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 21 Sep 2016 12:07:00 -0700 Subject: Make the I in IFormFiller explicit Typically the I prefix means Interface, except for CFFL_IFormFiller where it means Interactive. Rename CFFL_IFormFiller to CFFL_InteractiveFormFiller to make the meaning explicit. Review-Url: https://codereview.chromium.org/2357203003 --- xfa/fxfa/parser/cxfa_document.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fxfa') 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; -- cgit v1.2.3