diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-23 09:02:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-23 09:02:34 -0800 |
commit | 209821f79d0bbeeaeadf4e82ff643ee20d676222 (patch) | |
tree | 8384d4422830f598fbe727448e1f39bdd73a895d /xfa/fwl/core/cfwl_datetimepicker.cpp | |
parent | 1e32d811c1c9f0a729e8072cf3530208cf52e763 (diff) | |
download | pdfium-209821f79d0bbeeaeadf4e82ff643ee20d676222.tar.xz |
Remove plumbing for today value
The calendar always sets today to 2011/01/01. This Cl removes the various
DataProviders needed to plumb this value and just sets it where needed.
Review-Url: https://codereview.chromium.org/2524993002
Diffstat (limited to 'xfa/fwl/core/cfwl_datetimepicker.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_datetimepicker.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xfa/fwl/core/cfwl_datetimepicker.cpp b/xfa/fwl/core/cfwl_datetimepicker.cpp index 4f3b510cf0..a1d628d692 100644 --- a/xfa/fwl/core/cfwl_datetimepicker.cpp +++ b/xfa/fwl/core/cfwl_datetimepicker.cpp @@ -57,15 +57,6 @@ void CFWL_DateTimePicker::SetCurSel(int32_t iYear, ToDateTimePicker(GetWidget())->SetCurSel(iYear, iMonth, iDay); } -void CFWL_DateTimePicker::GetToday(IFWL_Widget* pWidget, - int32_t& iYear, - int32_t& iMonth, - int32_t& iDay) { - iYear = 2011; - iMonth = 1; - iDay = 1; -} - void CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) { ToDateTimePicker(GetWidget())->GetBBox(rect); } |