Index: xfa/fwl/core/cfwl_checkbox.cpp |
diff --git a/xfa/fwl/core/cfwl_checkbox.cpp b/xfa/fwl/core/cfwl_checkbox.cpp |
index 5372083b4c38f1ed808244dbd0a6351d79b42b92..75e85fcabb993aa970cd97579d4ff849c7ef9d03 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) { |