diff options
Diffstat (limited to 'fxjs/xfa')
-rw-r--r-- | fxjs/xfa/cjx_field.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/xfa/cjx_field.cpp b/fxjs/xfa/cjx_field.cpp index 2af988f1fe..828bfb9a0d 100644 --- a/fxjs/xfa/cjx_field.cpp +++ b/fxjs/xfa/cjx_field.cpp @@ -248,8 +248,8 @@ void CJX_Field::defaultValue(CFXJSE_Value* pValue, CXFA_WidgetAcc* pWidgetAcc = xfaNode->GetWidgetAcc(); if (bSetting) { if (pValue) { - pWidgetAcc->SetPreNull(pWidgetAcc->IsNull()); - pWidgetAcc->SetIsNull(pValue->IsNull()); + xfaNode->SetPreNull(xfaNode->IsNull()); + xfaNode->SetIsNull(pValue->IsNull()); } WideString wsNewText; |