From 4572c8a20beee5cbab2eb1a90cb6cadcc5fa512c Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 18:11:16 -0800 Subject: Remove the GetCaption dataprovider method This method mostly returns L"". In the one case where it returns something different the value is substituted into the callsite. The IFWL_Tooltip class was using the caption, but it is not currently being used. Removed as well. Review-Url: https://codereview.chromium.org/2522663002 --- xfa/fwl/core/cfwl_datetimepicker.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xfa/fwl/core/cfwl_datetimepicker.cpp') diff --git a/xfa/fwl/core/cfwl_datetimepicker.cpp b/xfa/fwl/core/cfwl_datetimepicker.cpp index 809392d949..abb85468cf 100644 --- a/xfa/fwl/core/cfwl_datetimepicker.cpp +++ b/xfa/fwl/core/cfwl_datetimepicker.cpp @@ -57,11 +57,6 @@ void CFWL_DateTimePicker::SetCurSel(int32_t iYear, ToDateTimePicker(GetWidget())->SetCurSel(iYear, iMonth, iDay); } -void CFWL_DateTimePicker::GetCaption(IFWL_Widget* pWidget, - CFX_WideString& wsCaption) { - wsCaption = L""; -} - void CFWL_DateTimePicker::GetToday(IFWL_Widget* pWidget, int32_t& iYear, int32_t& iMonth, -- cgit v1.2.3