From dd17234c42e4572b85b6d74a07bc901974d061be Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 09:04:05 -0800 Subject: Split fwl/core class pt I. Split classes in FWL to be single class per file. In the case of data providers which added no new methods, removed and used the IFWL_DataProvider directly. Review-Url: https://codereview.chromium.org/2506253004 --- xfa/fwl/core/ifwl_monthcalendar.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xfa/fwl/core/ifwl_monthcalendar.cpp') 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(m_pProperties->m_pDataProvider); + IFWL_MonthCalendar::DataProvider* pDateProv = + static_cast( + m_pProperties->m_pDataProvider); m_iYear = pDateProv->GetCurYear(this); m_iMonth = pDateProv->GetCurMonth(this); m_iDay = pDateProv->GetCurDay(this); -- cgit v1.2.3