diff options
Diffstat (limited to 'fxjs/xfa/cjx_object.cpp')
-rw-r--r-- | fxjs/xfa/cjx_object.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fxjs/xfa/cjx_object.cpp b/fxjs/xfa/cjx_object.cpp index f4f3030188..c49cc5bbce 100644 --- a/fxjs/xfa/cjx_object.cpp +++ b/fxjs/xfa/cjx_object.cpp @@ -807,8 +807,9 @@ pdfium::Optional<WideString> CJX_Object::TryContent(bool bScriptModify, if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::ExclGroup) { pNode = ToNode(GetXFAObject()); } else { - CXFA_Node* pValue = - ToNode(GetXFAObject())->GetChild(0, XFA_Element::Value, false); + CXFA_Value* pValue = + ToNode(GetXFAObject()) + ->GetChild<CXFA_Value>(0, XFA_Element::Value, false); if (!pValue) return {}; |