From 088632c37b21cbf3a4668b6094bd04ede021f15e Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 6 Apr 2016 12:16:02 -0700 Subject: Fix spelling for SetSelectedItems Review URL: https://codereview.chromium.org/1862053003 --- xfa/fxfa/app/xfa_ffchoicelist.cpp | 2 +- xfa/fxfa/parser/cxfa_widgetdata.cpp | 10 +++++----- xfa/fxfa/parser/cxfa_widgetdata.h | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'xfa/fxfa') diff --git a/xfa/fxfa/app/xfa_ffchoicelist.cpp b/xfa/fxfa/app/xfa_ffchoicelist.cpp index 645b8c88fa..57ef227a93 100644 --- a/xfa/fxfa/app/xfa_ffchoicelist.cpp +++ b/xfa/fxfa/app/xfa_ffchoicelist.cpp @@ -77,7 +77,7 @@ FX_BOOL CXFA_FFListBox::CommitData() { for (int32_t i = 0; i < iSels; i++) { iSelArray.Add(pListBox->GetSelIndex(i)); } - m_pDataAcc->SetSelectdItems(iSelArray, TRUE); + m_pDataAcc->SetSelectedItems(iSelArray, TRUE); return TRUE; } FX_BOOL CXFA_FFListBox::IsDataChanged() { diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp index af714fdd7a..f3c2bde8d2 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -813,7 +813,7 @@ void CXFA_WidgetData::SetItemState(int32_t nIndex, break; } } - SetSelectdItems(iSelArray, bNotify, bScriptModify, bSyncData); + SetSelectedItems(iSelArray, bNotify, bScriptModify, bSyncData); } } else { if (bSelected) { @@ -831,10 +831,10 @@ void CXFA_WidgetData::SetItemState(int32_t nIndex, } } -void CXFA_WidgetData::SetSelectdItems(CFX_Int32Array& iSelArray, - FX_BOOL bNotify, - FX_BOOL bScriptModify, - FX_BOOL bSyncData) { +void CXFA_WidgetData::SetSelectedItems(CFX_Int32Array& iSelArray, + FX_BOOL bNotify, + FX_BOOL bScriptModify, + FX_BOOL bSyncData) { CFX_WideString wsValue; int32_t iSize = iSelArray.GetSize(); if (iSize >= 1) { diff --git a/xfa/fxfa/parser/cxfa_widgetdata.h b/xfa/fxfa/parser/cxfa_widgetdata.h index 7b7afd14ce..503b47feb2 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.h +++ b/xfa/fxfa/parser/cxfa_widgetdata.h @@ -111,10 +111,10 @@ class CXFA_WidgetData : public CXFA_Data { FX_BOOL bNotify = FALSE, FX_BOOL bScriptModify = FALSE, FX_BOOL bSyncData = TRUE); - void SetSelectdItems(CFX_Int32Array& iSelArray, - FX_BOOL bNotify = FALSE, - FX_BOOL bScriptModify = FALSE, - FX_BOOL bSyncData = TRUE); + void SetSelectedItems(CFX_Int32Array& iSelArray, + FX_BOOL bNotify = FALSE, + FX_BOOL bScriptModify = FALSE, + FX_BOOL bSyncData = TRUE); void ClearAllSelections(); void InsertItem(const CFX_WideString& wsLabel, const CFX_WideString& wsValue, -- cgit v1.2.3