Index: xfa/fwl/core/ifwl_monthcalendar.cpp |
diff --git a/xfa/fwl/core/ifwl_monthcalendar.cpp b/xfa/fwl/core/ifwl_monthcalendar.cpp |
index 8be738399c07a036589dc6b28493ddc139e573b9..ab9cbc411e168abe3c908b96483cadcbebf4b31e 100644 |
--- a/xfa/fwl/core/ifwl_monthcalendar.cpp |
+++ b/xfa/fwl/core/ifwl_monthcalendar.cpp |
@@ -724,8 +724,9 @@ void IFWL_MonthCalendar::GetCapValue() { |
void IFWL_MonthCalendar::InitDate() { |
if (m_pProperties->m_pDataProvider) { |
- IFWL_MonthCalendarDP* pDateProv = |
- static_cast<IFWL_MonthCalendarDP*>(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); |