Index: xfa/fwl/core/cfwl_datetimepicker.cpp |
diff --git a/xfa/fwl/core/cfwl_datetimepicker.cpp b/xfa/fwl/core/cfwl_datetimepicker.cpp |
index efc2b62cf7629d214a2627870704c9f197b2feae..cead9045d9320dd270f488167ce648e8852ee912 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) { |