From 64204f591bc27976a7123ec5a88558542486bb3f Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 8 Jan 2018 15:53:54 -0500 Subject: Convert XFA_GetLocaleValue to accept a CXFA_Node This CL changes XFA_GetLocaleValue to accept a CXFA_Node instead of a CXFA_WidgetAcc. Change-Id: Id304fd8dafcc6e644058230289e497525702fa79 Reviewed-on: https://pdfium-review.googlesource.com/22470 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffnumericedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffnumericedit.cpp') 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()); -- cgit v1.2.3