diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 04e947e64f..4896d0c39f 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -1149,9 +1149,6 @@ void CXFA_Node::InsertChild(int32_t index, CXFA_Node* pNode) { while (++iCount != index && pPrev->next_sibling_) pPrev = pPrev->next_sibling_; - if (index > 0 && index != iCount) - return; - pNode->next_sibling_ = pPrev->next_sibling_; pPrev->next_sibling_ = pNode; index = iCount; |