diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-06 12:16:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-06 12:16:02 -0700 |
commit | 088632c37b21cbf3a4668b6094bd04ede021f15e (patch) | |
tree | eb376640721d82e9529238802f3ea6dce3a6c629 /xfa | |
parent | 03e8f12cd3788038225d0376a164a9993f6cb720 (diff) | |
download | pdfium-088632c37b21cbf3a4668b6094bd04ede021f15e.tar.xz |
Fix spelling for SetSelectedItems
Review URL: https://codereview.chromium.org/1862053003
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fxfa/app/xfa_ffchoicelist.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.cpp | 10 | ||||
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.h | 8 |
3 files changed, 10 insertions, 10 deletions
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, |