diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-23 09:20:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-23 09:20:32 -0700 |
commit | 41cb62ec84f8e8ca4ce8075fd4d825f8e22292a2 (patch) | |
tree | a47d8cdef2e2c628b4698e6467fd6cd1fb5646a2 /xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp | |
parent | ab5b60edba7e8e80d7ee964d58e58b384fcfe5ee (diff) | |
download | pdfium-41cb62ec84f8e8ca4ce8075fd4d825f8e22292a2.tar.xz |
Cleanup some variable namings.chromium/2778
This CL cleans up some variable namings from the XFA_Element enum change.
Review-Url: https://codereview.chromium.org/2093663002
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp index 81c7335e30..de47bd2e91 100644 --- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp +++ b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp @@ -248,12 +248,9 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_GetObjArray( if (!pItemChild->IsContentLayoutItem()) { continue; } - XFA_Element eElementType = - pItemChild->m_pFormNode->GetElementType(); - if (eElementType != XFA_Element::Field && - eElementType != XFA_Element::Draw && - eElementType != XFA_Element::Subform && - eElementType != XFA_Element::Area) { + XFA_Element eType = pItemChild->m_pFormNode->GetElementType(); + if (eType != XFA_Element::Field && eType != XFA_Element::Draw && + eType != XFA_Element::Subform && eType != XFA_Element::Area) { continue; } if (pdfium::ContainsValue(formItems, pItemChild->m_pFormNode)) @@ -273,12 +270,9 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_GetObjArray( if (!pItemChild->IsContentLayoutItem()) { continue; } - XFA_Element eElementType = - pItemChild->m_pFormNode->GetElementType(); - if (eElementType != XFA_Element::Field && - eElementType != XFA_Element::Draw && - eElementType != XFA_Element::Subform && - eElementType != XFA_Element::Area) { + XFA_Element eType = pItemChild->m_pFormNode->GetElementType(); + if (eType != XFA_Element::Field && eType != XFA_Element::Draw && + eType != XFA_Element::Subform && eType != XFA_Element::Area) { continue; } if (pdfium::ContainsValue(formItems, pItemChild->m_pFormNode)) |