Index: xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp |
index 128f5e1d4774193c63d2c5486df11f8d2f1ed0a0..3489361fb99e6d9b9391f92c3d41bf74794af2b4 100644 |
--- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp |
+++ b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp |
@@ -247,12 +247,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)) |
@@ -272,12 +269,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)) |