summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_draw.cpp')
-rw-r--r--fxjs/xfa/cjx_draw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/xfa/cjx_draw.cpp b/fxjs/xfa/cjx_draw.cpp
index 0752bf7457..036cfc76bc 100644
--- a/fxjs/xfa/cjx_draw.cpp
+++ b/fxjs/xfa/cjx_draw.cpp
@@ -119,8 +119,8 @@ void CJX_Draw::defaultValue(CFXJSE_Value* pValue,
if (!pValue || !pValue->IsString())
return;
- CXFA_WidgetData* pWidgetData = GetXFANode()->GetWidgetData();
- XFA_Element uiType = pWidgetData->GetUIType();
+ CXFA_WidgetAcc* pWidgetAcc = GetXFANode()->GetWidgetAcc();
+ XFA_Element uiType = pWidgetAcc->GetUIType();
if (uiType != XFA_Element::Text)
return;