| Index: xfa/fxfa/parser/xfa_script.h
|
| diff --git a/xfa/fxfa/parser/xfa_script.h b/xfa/fxfa/parser/xfa_script.h
|
| index 350588f8b5272ca334b68e3943447d058e54fff1..da348f7a36fb0a62139cfee2c59c288561cb825d 100644
|
| --- a/xfa/fxfa/parser/xfa_script.h
|
| +++ b/xfa/fxfa/parser/xfa_script.h
|
| @@ -48,8 +48,8 @@ class CXFA_ValueArray : public CFX_ArrayTemplate<CFXJSE_Value*> {
|
|
|
| void GetAttributeObject(CXFA_ObjArray& objArray) {
|
| for (int32_t i = 0; i < GetSize(); i++) {
|
| - CXFA_Object* pObject = (CXFA_Object*)FXJSE_Value_ToObject(GetAt(i), NULL);
|
| - objArray.Add(pObject);
|
| + objArray.Add(
|
| + static_cast<CXFA_Object*>(FXJSE_Value_ToObject(GetAt(i), nullptr)));
|
| }
|
| }
|
|
|
|
|