diff options
Diffstat (limited to 'fxjs/xfa/cjx_draw.cpp')
-rw-r--r-- | fxjs/xfa/cjx_draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_draw.cpp b/fxjs/xfa/cjx_draw.cpp index 77d058f0d6..175450650c 100644 --- a/fxjs/xfa/cjx_draw.cpp +++ b/fxjs/xfa/cjx_draw.cpp @@ -120,7 +120,7 @@ void CJX_Draw::defaultValue(CFXJSE_Value* pValue, return; ASSERT(GetXFANode()->IsWidgetReady()); - if (GetXFANode()->GetUIType() != XFA_Element::Text) + if (GetXFANode()->GetFFWidgetType() != XFA_FFWidgetType::kText) return; WideString wsNewValue = pValue->ToWideString(); |