Index: xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
diff --git a/xfa/src/fxfa/src/parser/xfa_object_imp.cpp b/xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
index 1c5bd758a89ab5b06dc445f9d39b2e738a9730ea..c7a288bb27f6e64d77c75a2360691de12b46d792 100644 |
--- a/xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
+++ b/xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
@@ -178,24 +178,27 @@ CXFA_Node* CXFA_Node::GetNodeItem(XFA_NODEITEM eItem, |
switch (eItem) { |
case XFA_NODEITEM_NextSibling: |
pNode = m_pNext; |
- if (eType != XFA_OBJECTTYPEMASK) |
+ if (eType != XFA_OBJECTTYPEMASK) { |
while (pNode && pNode->GetObjectType() != eType) { |
pNode = pNode->m_pNext; |
} |
+ } |
break; |
case XFA_NODEITEM_FirstChild: |
pNode = m_pChild; |
- if (eType != XFA_OBJECTTYPEMASK) |
+ if (eType != XFA_OBJECTTYPEMASK) { |
while (pNode && pNode->GetObjectType() != eType) { |
pNode = pNode->m_pNext; |
} |
+ } |
break; |
case XFA_NODEITEM_Parent: |
pNode = m_pParent; |
- if (eType != XFA_OBJECTTYPEMASK) |
+ if (eType != XFA_OBJECTTYPEMASK) { |
while (pNode && pNode->GetObjectType() != eType) { |
pNode = pNode->m_pParent; |
} |
+ } |
break; |
case XFA_NODEITEM_PrevSibling: |
if (m_pParent) { |