Chromium Code Reviews| Index: xfa/fwl/core/ifwl_monthcalendar.cpp |
| diff --git a/xfa/fwl/core/ifwl_monthcalendar.cpp b/xfa/fwl/core/ifwl_monthcalendar.cpp |
| index 0137f195c9ca0533875a5b0fbbf36a6676a64cb0..e795999f6140f487f4ee55a3c44271659cf2c002 100644 |
| --- a/xfa/fwl/core/ifwl_monthcalendar.cpp |
| +++ b/xfa/fwl/core/ifwl_monthcalendar.cpp |
| @@ -725,12 +725,9 @@ void IFWL_MonthCalendar::GetCapValue() { |
| void IFWL_MonthCalendar::InitDate() { |
| if (m_pProperties->m_pDataProvider) { |
| - IFWL_MonthCalendar::DataProvider* pDateProv = |
| - static_cast<IFWL_MonthCalendar::DataProvider*>( |
| - m_pProperties->m_pDataProvider); |
| - m_iYear = pDateProv->GetCurYear(this); |
| - m_iMonth = pDateProv->GetCurMonth(this); |
| - m_iDay = pDateProv->GetCurDay(this); |
| + m_iYear = 2011; |
|
npm
2016/11/23 16:42:31
Add a TODO?
dsinclair
2016/11/23 16:46:40
Done.
|
| + m_iMonth = 1; |
| + m_iDay = 1; |
| m_iCurYear = m_iYear; |
| m_iCurMonth = m_iMonth; |
| } else { |