diff options
Diffstat (limited to 'xfa/fxfa/cxfa_fffield.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_fffield.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_fffield.cpp b/xfa/fxfa/cxfa_fffield.cpp index 010af86897..67a4cb1aca 100644 --- a/xfa/fxfa/cxfa_fffield.cpp +++ b/xfa/fxfa/cxfa_fffield.cpp @@ -682,12 +682,12 @@ int32_t CXFA_FFField::CalculateWidgetAcc(CXFA_WidgetAcc* pAcc) { } case XFA_ATTRIBUTEENUM_Warning: { if (version <= XFA_VERSION_204) { - CXFA_Script script = calcData.GetScript(); - if (!script) + CXFA_ScriptData scriptData = calcData.GetScriptData(); + if (!scriptData) return 1; WideString wsExpression; - script.GetExpression(wsExpression); + scriptData.GetExpression(wsExpression); if (wsExpression.IsEmpty()) return 1; } |