summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-06 12:16:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-06 12:16:02 -0700
commit088632c37b21cbf3a4668b6094bd04ede021f15e (patch)
treeeb376640721d82e9529238802f3ea6dce3a6c629 /xfa
parent03e8f12cd3788038225d0376a164a9993f6cb720 (diff)
downloadpdfium-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.cpp2
-rw-r--r--xfa/fxfa/parser/cxfa_widgetdata.cpp10
-rw-r--r--xfa/fxfa/parser/cxfa_widgetdata.h8
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,