diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-16 12:15:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-16 12:15:27 -0800 |
commit | 14a60c50b10de1d9e4edd3629ea210a816940a75 (patch) | |
tree | 7cf8c062b28245a9f01a3ed7aace12726ddbba85 /xfa/fwl/core/cfwl_combobox.cpp | |
parent | af177fe1c062d20b663a4a1c14924be85d0e631e (diff) | |
download | pdfium-14a60c50b10de1d9e4edd3629ea210a816940a75.tar.xz |
Continue formatting fwl/core
Review-Url: https://codereview.chromium.org/2506083002
Diffstat (limited to 'xfa/fwl/core/cfwl_combobox.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_combobox.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/xfa/fwl/core/cfwl_combobox.cpp b/xfa/fwl/core/cfwl_combobox.cpp index fcdbec9489..569ad6dad0 100644 --- a/xfa/fwl/core/cfwl_combobox.cpp +++ b/xfa/fwl/core/cfwl_combobox.cpp @@ -127,16 +127,19 @@ bool CFWL_ComboBox::EditPaste(const CFX_WideString& wsPaste) { return GetWidget() ? ToComboBox(GetWidget())->EditPaste(wsPaste) : false; } -bool CFWL_ComboBox::EditSelectAll() { - return GetWidget() ? ToComboBox(GetWidget())->EditSelectAll() : false; +void CFWL_ComboBox::EditSelectAll() { + if (GetWidget()) + ToComboBox(GetWidget())->EditSelectAll(); } -bool CFWL_ComboBox::EditDelete() { - return GetWidget() ? ToComboBox(GetWidget())->EditDelete() : false; +void CFWL_ComboBox::EditDelete() { + if (GetWidget()) + ToComboBox(GetWidget())->EditDelete(); } -bool CFWL_ComboBox::EditDeSelect() { - return GetWidget() ? ToComboBox(GetWidget())->EditDeSelect() : false; +void CFWL_ComboBox::EditDeSelect() { + if (GetWidget()) + ToComboBox(GetWidget())->EditDeSelect(); } void CFWL_ComboBox::GetBBox(CFX_RectF& rect) { |