diff options
author | tsepez <tsepez@chromium.org> | 2016-09-07 15:29:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-07 15:29:11 -0700 |
commit | 8c2a8cda1bdb9f57513af5a21a5d0ce32614e52b (patch) | |
tree | 46e47faf042784025bc584b5f138b75127adf3be /xfa/fxfa/parser/cxfa_widgetdata.cpp | |
parent | 7b68f616e49235267eeac8db51aadade6d60e243 (diff) | |
download | pdfium-8c2a8cda1bdb9f57513af5a21a5d0ce32614e52b.tar.xz |
Fix spelling of "Formated" in several variableschromium/2854
Review-Url: https://codereview.chromium.org/2318423002
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp index 07f0ebb04d..561a5df92d 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -1739,8 +1739,8 @@ FX_BOOL CXFA_WidgetData::GetNormalizeDataValue( } FX_BOOL CXFA_WidgetData::GetFormatDataValue(const CFX_WideString& wsValue, - CFX_WideString& wsFormatedValue) { - wsFormatedValue = wsValue; + CFX_WideString& wsFormattedValue) { + wsFormattedValue = wsValue; if (wsValue.IsEmpty()) return TRUE; @@ -1796,7 +1796,7 @@ FX_BOOL CXFA_WidgetData::GetFormatDataValue(const CFX_WideString& wsValue, CFX_WideString wsDate, wsTime; if (SplitDateTime(wsValue, wsDate, wsTime)) { CXFA_LocaleValue date(XFA_VT_DATE, wsDate, pLocalMgr); - if (date.FormatPatterns(wsFormatedValue, wsPicture, pLocale, + if (date.FormatPatterns(wsFormattedValue, wsPicture, pLocale, XFA_VALUEPICTURE_DataBind)) { return TRUE; } @@ -1807,7 +1807,7 @@ FX_BOOL CXFA_WidgetData::GetFormatDataValue(const CFX_WideString& wsValue, CFX_WideString wsDate, wsTime; if (SplitDateTime(wsValue, wsDate, wsTime)) { CXFA_LocaleValue time(XFA_VT_TIME, wsTime, pLocalMgr); - if (time.FormatPatterns(wsFormatedValue, wsPicture, pLocale, + if (time.FormatPatterns(wsFormattedValue, wsPicture, pLocale, XFA_VALUEPICTURE_DataBind)) { return TRUE; } @@ -1817,7 +1817,7 @@ FX_BOOL CXFA_WidgetData::GetFormatDataValue(const CFX_WideString& wsValue, default: break; } - widgetValue.FormatPatterns(wsFormatedValue, wsPicture, pLocale, + widgetValue.FormatPatterns(wsFormattedValue, wsPicture, pLocale, XFA_VALUEPICTURE_DataBind); } return FALSE; |