Index: xfa/fxfa/parser/xfa_document_datamerger_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp |
index 4374b7c43d82831c304e102fdcb8e4420e3b11b1..dd1fce6eed386b0616fdcae92eff3cebda0d9d31 100644 |
--- a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp |
@@ -15,7 +15,6 @@ |
#include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
#include "xfa/fxfa/parser/xfa_localemgr.h" |
#include "xfa/fxfa/parser/xfa_object.h" |
-#include "xfa/fxfa/parser/xfa_parser.h" |
#include "xfa/fxfa/parser/xfa_parser_imp.h" |
#include "xfa/fxfa/parser/xfa_script.h" |
#include "xfa/fxfa/parser/xfa_script_imp.h" |
@@ -531,9 +530,8 @@ CXFA_Node* CloneOrMergeInstanceManager(CXFA_Document* pDocument, |
return pExistingNode; |
} |
- CXFA_Node* pNewNode = pDocument->GetParser()->GetFactory()->CreateNode( |
- XFA_XDPPACKET_Form, XFA_Element::InstanceManager); |
- ASSERT(pNewNode); |
+ CXFA_Node* pNewNode = |
+ pDocument->CreateNode(XFA_XDPPACKET_Form, XFA_Element::InstanceManager); |
wsInstMgrNodeName = |
FX_WSTRC(L"_") + pTemplateNode->GetCData(XFA_ATTRIBUTE_Name); |
pNewNode->SetCData(XFA_ATTRIBUTE_Name, wsInstMgrNodeName); |