diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-21 12:07:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-21 12:07:00 -0700 |
commit | b94d7c9216160269d43a722b8e216790ba4b5d3b (patch) | |
tree | ea626b19bbb8b58be82691c4a69c10715edfe6f4 /xfa/fxfa/parser | |
parent | 0b2a9874bddf44b4226fcbafa9ce159a9b3735a8 (diff) | |
download | pdfium-b94d7c9216160269d43a722b8e216790ba4b5d3b.tar.xz |
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
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; |