| 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 81c7335e30d3379102d022dbca6e61d84306591f..de47bd2e915d343b97eff5ca64170d2d4be29ae8 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))
|
|
|