summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffnumericedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffnumericedit.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffnumericedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffnumericedit.cpp b/xfa/fxfa/cxfa_ffnumericedit.cpp
index 666f3c0c9b..b437bc2b2a 100644
--- a/xfa/fxfa/cxfa_ffnumericedit.cpp
+++ b/xfa/fxfa/cxfa_ffnumericedit.cpp
@@ -82,7 +82,7 @@ bool CXFA_FFNumericEdit::OnValidate(CFWL_Widget* pWidget, WideString& wsText) {
return true;
WideString wsFormat;
- CXFA_LocaleValue widgetValue = XFA_GetLocaleValue(m_pNode->GetWidgetAcc());
+ CXFA_LocaleValue widgetValue = XFA_GetLocaleValue(m_pNode.Get());
widgetValue.GetNumericFormat(wsFormat,
m_pNode->GetWidgetAcc()->GetLeadDigits(),
m_pNode->GetWidgetAcc()->GetFracDigits());