Index: xfa/fxfa/parser/xfa_script_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_imp.cpp b/xfa/fxfa/parser/xfa_script_imp.cpp |
index 2afa5fcdecc3d66c0fed1ea446250af9c1959c7d..109fc311e66c2757f652050ab1ccade19d522a0e 100644 |
--- a/xfa/fxfa/parser/xfa_script_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_script_imp.cpp |
@@ -643,7 +643,7 @@ int32_t CXFA_ScriptContext::ResolveObjects(CXFA_Object* refNode, |
if (nNodes < 1) { |
if (dwStyles & XFA_RESOLVENODE_CreateNode) { |
bNextCreate = TRUE; |
- if (m_ResolveProcessor->GetNodeHelper()->m_pCreateParent == nullptr) { |
+ if (!m_ResolveProcessor->GetNodeHelper()->m_pCreateParent) { |
m_ResolveProcessor->GetNodeHelper()->m_pCreateParent = |
ToNode(rndFind.m_CurNode); |
m_ResolveProcessor->GetNodeHelper()->m_iCreateCount = 1; |