diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-07 21:44:00 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-07 21:44:00 +0000 |
commit | 58629a0e49e4ebfb0a0171a4203d2fab4af63165 (patch) | |
tree | e25f5af0a5b3993dcc7ae0ed730f8c5c1fb1445c /xfa/fxfa/cxfa_ffdatetimeedit.cpp | |
parent | 255e61ed20e42917e0055710fb5be56b2ad40afc (diff) | |
download | pdfium-58629a0e49e4ebfb0a0171a4203d2fab4af63165.tar.xz |
Rename CXFA_Value to CXFA_ValueDatachromium/3262
This CL renames CXFA_Value to CXFA_ValueData to show it's part of the
data hierarchy.
Change-Id: I4693234f503903a2c11d76a56dbbb6de5f0c3718
Reviewed-on: https://pdfium-review.googlesource.com/18018
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdatetimeedit.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdatetimeedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffdatetimeedit.cpp b/xfa/fxfa/cxfa_ffdatetimeedit.cpp index c2ebb91bc9..65c32d517b 100644 --- a/xfa/fxfa/cxfa_ffdatetimeedit.cpp +++ b/xfa/fxfa/cxfa_ffdatetimeedit.cpp @@ -49,8 +49,8 @@ bool CXFA_FFDateTimeEdit::LoadWidget() { WideString wsText; m_pDataAcc->GetValue(wsText, XFA_VALUEPICTURE_Display); pWidget->SetEditText(wsText); - if (CXFA_Value value = m_pDataAcc->GetFormValue()) { - switch (value.GetChildValueClassID()) { + if (CXFA_ValueData valueData = m_pDataAcc->GetFormValueData()) { + switch (valueData.GetChildValueClassID()) { case XFA_Element::Date: { if (!wsText.IsEmpty()) { CXFA_LocaleValue lcValue = XFA_GetLocaleValue(m_pDataAcc.Get()); |