summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_monthcalendar.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 09:04:05 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 09:04:05 -0800
commitdd17234c42e4572b85b6d74a07bc901974d061be (patch)
tree31a9c3dc96bc3a637f204949f1689a501ada6906 /xfa/fwl/core/ifwl_monthcalendar.cpp
parentb4455b90b1c86ab94986e4f470c963f1e91b27ba (diff)
downloadpdfium-dd17234c42e4572b85b6d74a07bc901974d061be.tar.xz
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
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);