summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_checkbox.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-11 16:36:19 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-11 16:36:19 -0800
commitc40697b24550182898b30de639790eaf82ebf158 (patch)
tree16a475f270e8961dd3c7ebf83c1da767c9d1adbd /xfa/fwl/core/cfwl_checkbox.cpp
parentdc40c40f40ed2415605da32f688091a57f53c9e6 (diff)
downloadpdfium-c40697b24550182898b30de639790eaf82ebf158.tar.xz
Continue IFWL widget cleanup.
Remove usunsed methods and FWL_Error returns. Review-Url: https://codereview.chromium.org/2488963005
Diffstat (limited to 'xfa/fwl/core/cfwl_checkbox.cpp')
-rw-r--r--xfa/fwl/core/cfwl_checkbox.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fwl/core/cfwl_checkbox.cpp b/xfa/fwl/core/cfwl_checkbox.cpp
index 5372083b4c..75e85fcabb 100644
--- a/xfa/fwl/core/cfwl_checkbox.cpp
+++ b/xfa/fwl/core/cfwl_checkbox.cpp
@@ -51,10 +51,9 @@ FWL_Error CFWL_CheckBox::SetCheckState(int32_t iCheck) {
return ToCheckBox(GetWidget())->SetCheckState(iCheck);
}
-FWL_Error CFWL_CheckBox::GetCaption(IFWL_Widget* pWidget,
- CFX_WideString& wsCaption) {
+void CFWL_CheckBox::GetCaption(IFWL_Widget* pWidget,
+ CFX_WideString& wsCaption) {
wsCaption = m_wsCaption;
- return FWL_Error::Succeeded;
}
FX_FLOAT CFWL_CheckBox::GetBoxSize(IFWL_Widget* pWidget) {