summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-16 12:15:27 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-16 12:15:27 -0800
commit14a60c50b10de1d9e4edd3629ea210a816940a75 (patch)
tree7cf8c062b28245a9f01a3ed7aace12726ddbba85 /xfa/fxfa/app
parentaf177fe1c062d20b663a4a1c14924be85d0e631e (diff)
downloadpdfium-14a60c50b10de1d9e4edd3629ea210a816940a75.tar.xz
Continue formatting fwl/core
Review-Url: https://codereview.chromium.org/2506083002
Diffstat (limited to 'xfa/fxfa/app')
-rw-r--r--xfa/fxfa/app/xfa_ffchoicelist.cpp12
-rw-r--r--xfa/fxfa/app/xfa_ffchoicelist.h6
-rw-r--r--xfa/fxfa/app/xfa_ffwidget.cpp16
3 files changed, 16 insertions, 18 deletions
diff --git a/xfa/fxfa/app/xfa_ffchoicelist.cpp b/xfa/fxfa/app/xfa_ffchoicelist.cpp
index 93e270da3e..e516ffde95 100644
--- a/xfa/fxfa/app/xfa_ffchoicelist.cpp
+++ b/xfa/fxfa/app/xfa_ffchoicelist.cpp
@@ -439,14 +439,14 @@ bool CXFA_FFComboBox::Paste(const CFX_WideString& wsPaste) {
return m_pDataAcc->IsChoiceListAllowTextEntry() &&
((CFWL_ComboBox*)m_pNormalWidget)->EditPaste(wsPaste);
}
-bool CXFA_FFComboBox::SelectAll() {
- return ((CFWL_ComboBox*)m_pNormalWidget)->EditSelectAll();
+void CXFA_FFComboBox::SelectAll() {
+ ((CFWL_ComboBox*)m_pNormalWidget)->EditSelectAll();
}
-bool CXFA_FFComboBox::Delete() {
- return ((CFWL_ComboBox*)m_pNormalWidget)->EditDelete();
+void CXFA_FFComboBox::Delete() {
+ ((CFWL_ComboBox*)m_pNormalWidget)->EditDelete();
}
-bool CXFA_FFComboBox::DeSelect() {
- return ((CFWL_ComboBox*)m_pNormalWidget)->EditDeSelect();
+void CXFA_FFComboBox::DeSelect() {
+ ((CFWL_ComboBox*)m_pNormalWidget)->EditDeSelect();
}
void CXFA_FFComboBox::SetItemState(int32_t nIndex, bool bSelected) {
if (bSelected) {
diff --git a/xfa/fxfa/app/xfa_ffchoicelist.h b/xfa/fxfa/app/xfa_ffchoicelist.h
index 9ce6cccd11..720807f968 100644
--- a/xfa/fxfa/app/xfa_ffchoicelist.h
+++ b/xfa/fxfa/app/xfa_ffchoicelist.h
@@ -63,9 +63,9 @@ class CXFA_FFComboBox : public CXFA_FFField {
bool Copy(CFX_WideString& wsCopy) override;
bool Cut(CFX_WideString& wsCut) override;
bool Paste(const CFX_WideString& wsPaste) override;
- bool SelectAll() override;
- bool Delete() override;
- bool DeSelect() override;
+ void SelectAll() override;
+ void Delete() override;
+ void DeSelect() override;
// IFWL_WidgetDelegate
void OnProcessMessage(CFWL_Message* pMessage) override;
diff --git a/xfa/fxfa/app/xfa_ffwidget.cpp b/xfa/fxfa/app/xfa_ffwidget.cpp
index 89b3053b57..07ba16cd80 100644
--- a/xfa/fxfa/app/xfa_ffwidget.cpp
+++ b/xfa/fxfa/app/xfa_ffwidget.cpp
@@ -304,15 +304,13 @@ bool CXFA_FFWidget::Cut(CFX_WideString& wsCut) {
bool CXFA_FFWidget::Paste(const CFX_WideString& wsPaste) {
return false;
}
-bool CXFA_FFWidget::SelectAll() {
- return false;
-}
-bool CXFA_FFWidget::Delete() {
- return false;
-}
-bool CXFA_FFWidget::DeSelect() {
- return false;
-}
+
+void CXFA_FFWidget::SelectAll() {}
+
+void CXFA_FFWidget::Delete() {}
+
+void CXFA_FFWidget::DeSelect() {}
+
bool CXFA_FFWidget::GetSuggestWords(CFX_PointF pointf,
std::vector<CFX_ByteString>& sSuggest) {
return false;