summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_monthcalendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/ifwl_monthcalendar.cpp')
-rw-r--r--xfa/fwl/core/ifwl_monthcalendar.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fwl/core/ifwl_monthcalendar.cpp b/xfa/fwl/core/ifwl_monthcalendar.cpp
index 8be738399c..ab9cbc411e 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);