summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_datetimepicker.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-15 12:33:06 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-15 12:33:06 -0800
commit38eaf4b11383e24a00192132b683cc07e38622a6 (patch)
tree169f9d48784035519ddee9191aa412cc817a4531 /xfa/fwl/core/cfwl_datetimepicker.cpp
parent05b9a317d66c29f740e4b0e89ea87143a11d61fc (diff)
downloadpdfium-38eaf4b11383e24a00192132b683cc07e38622a6.tar.xz
Cleanup cfwl_* files.
This Cl cleans up the visibility, method usage and return values in the remaining CFWL files. Review-Url: https://codereview.chromium.org/2498163002
Diffstat (limited to 'xfa/fwl/core/cfwl_datetimepicker.cpp')
-rw-r--r--xfa/fwl/core/cfwl_datetimepicker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/core/cfwl_datetimepicker.cpp b/xfa/fwl/core/cfwl_datetimepicker.cpp
index efc2b62cf7..cead9045d9 100644
--- a/xfa/fwl/core/cfwl_datetimepicker.cpp
+++ b/xfa/fwl/core/cfwl_datetimepicker.cpp
@@ -22,7 +22,7 @@ IFWL_DateTimePicker* ToDateTimePicker(IFWL_Widget* widget) {
} // namespace
CFWL_DateTimePicker::CFWL_DateTimePicker(const IFWL_App* app)
- : CFWL_Widget(app), m_iYear(2011), m_iMonth(1), m_iDay(1) {}
+ : CFWL_Widget(app) {}
CFWL_DateTimePicker::~CFWL_DateTimePicker() {}
@@ -66,9 +66,9 @@ void CFWL_DateTimePicker::GetToday(IFWL_Widget* pWidget,
int32_t& iYear,
int32_t& iMonth,
int32_t& iDay) {
- iYear = m_iYear;
- iMonth = m_iMonth;
- iDay = m_iDay;
+ iYear = 2011;
+ iMonth = 1;
+ iDay = 1;
}
void CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) {