| Index: xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp
|
| diff --git a/xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp b/xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp
|
| index 32a3d58d20128d11cf4481c7427c191f3638e2fb..8fe9348b51772d7db8b2565667811f2c4132fd13 100644
|
| --- a/xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp
|
| +++ b/xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp
|
| @@ -353,8 +353,8 @@ FX_BOOL CXFA_NodeHelper::XFA_ResolveNodes_CreateNode(
|
| FX_BOOL bResult = FALSE;
|
| if (wsName.GetAt(0) == '!') {
|
| wsName = wsName.Right(wsName.GetLength() - 1);
|
| - m_pCreateParent = (CXFA_Node*)pScriptContext->GetDocument()->GetXFAObject(
|
| - XFA_HASHCODE_Datasets);
|
| + m_pCreateParent = ToNode(
|
| + pScriptContext->GetDocument()->GetXFAObject(XFA_HASHCODE_Datasets));
|
| }
|
| if (wsName.GetAt(0) == '#') {
|
| bIsClassName = TRUE;
|
|
|