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 /fpdfsdk/cpdfsdk_widget.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 'fpdfsdk/cpdfsdk_widget.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_widget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp index 2ddbccc28c..d518a56109 100644 --- a/fpdfsdk/cpdfsdk_widget.cpp +++ b/fpdfsdk/cpdfsdk_widget.cpp @@ -737,9 +737,9 @@ void CPDFSDK_Widget::ResetAppearance(FX_BOOL bValueChanged) { switch (GetFieldType()) { case FIELDTYPE_TEXTFIELD: case FIELDTYPE_COMBOBOX: { - FX_BOOL bFormated = FALSE; - CFX_WideString sValue = OnFormat(bFormated); - ResetAppearance(bFormated ? sValue.c_str() : nullptr, TRUE); + FX_BOOL bFormatted = FALSE; + CFX_WideString sValue = OnFormat(bFormatted); + ResetAppearance(bFormatted ? sValue.c_str() : nullptr, TRUE); break; } default: @@ -785,10 +785,10 @@ void CPDFSDK_Widget::ResetAppearance(const FX_WCHAR* sValue, m_pAnnot->ClearCachedAP(); } -CFX_WideString CPDFSDK_Widget::OnFormat(FX_BOOL& bFormated) { +CFX_WideString CPDFSDK_Widget::OnFormat(FX_BOOL& bFormatted) { CPDF_FormField* pFormField = GetFormField(); ASSERT(pFormField); - return m_pInterForm->OnFormat(pFormField, bFormated); + return m_pInterForm->OnFormat(pFormField, bFormatted); } void CPDFSDK_Widget::ResetFieldAppearance(FX_BOOL bValueChanged) { |