| 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 b2f9b25ec23eac6d69532fffe903bd7bfcde0b33..ee7576ebf197e8bf9fd34da1b529ce2a5c1a4ca3 100644
|
| --- a/xfa/fxfa/parser/xfa_script_imp.cpp
|
| +++ b/xfa/fxfa/parser/xfa_script_imp.cpp
|
| @@ -357,13 +357,13 @@ int32_t CXFA_ScriptContext::NormalPropTypeGetter(
|
| CXFA_ScriptContext* lpScriptContext =
|
| pObject->GetDocument()->GetScriptContext();
|
| pObject = lpScriptContext->GetVariablesThis(pObject);
|
| - XFA_Element objElement = pObject->GetElementType();
|
| + XFA_Element eType = pObject->GetElementType();
|
| CFX_WideString wsPropName = CFX_WideString::FromUTF8(szPropName);
|
| - if (XFA_GetMethodByName(objElement, wsPropName.AsStringC())) {
|
| + if (XFA_GetMethodByName(eType, wsPropName.AsStringC())) {
|
| return FXJSE_ClassPropType_Method;
|
| }
|
| if (bQueryIn &&
|
| - !XFA_GetScriptAttributeByName(objElement, wsPropName.AsStringC())) {
|
| + !XFA_GetScriptAttributeByName(eType, wsPropName.AsStringC())) {
|
| return FXJSE_ClassPropType_None;
|
| }
|
| return FXJSE_ClassPropType_Property;
|
| @@ -379,9 +379,9 @@ int32_t CXFA_ScriptContext::GlobalPropTypeGetter(
|
| CXFA_ScriptContext* lpScriptContext =
|
| pObject->GetDocument()->GetScriptContext();
|
| pObject = lpScriptContext->GetVariablesThis(pObject);
|
| - XFA_Element objElement = pObject->GetElementType();
|
| + XFA_Element eType = pObject->GetElementType();
|
| CFX_WideString wsPropName = CFX_WideString::FromUTF8(szPropName);
|
| - if (XFA_GetMethodByName(objElement, wsPropName.AsStringC())) {
|
| + if (XFA_GetMethodByName(eType, wsPropName.AsStringC())) {
|
| return FXJSE_ClassPropType_Method;
|
| }
|
| return FXJSE_ClassPropType_Property;
|
|
|