diff options
author | tsepez <tsepez@chromium.org> | 2016-06-09 11:46:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-09 11:46:16 -0700 |
commit | 20d6b76d82a762e75e8c2a89976f93acd9af7467 (patch) | |
tree | 9142c0179606d9909158678559e0adcac8b9991f /xfa/fxfa/app/xfa_ffpageview.cpp | |
parent | e64c3c60bdc1ca2e937e4317a9238ab4c210dfe5 (diff) | |
download | pdfium-20d6b76d82a762e75e8c2a89976f93acd9af7467.tar.xz |
Use static_cast<CXFA_WidgetAcc*> in xfa.
Remove a few other unused casts, simplify.
Review-Url: https://codereview.chromium.org/2052593003
Diffstat (limited to 'xfa/fxfa/app/xfa_ffpageview.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffpageview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/app/xfa_ffpageview.cpp b/xfa/fxfa/app/xfa_ffpageview.cpp index bb277f46f0..ce30d199d5 100644 --- a/xfa/fxfa/app/xfa_ffpageview.cpp +++ b/xfa/fxfa/app/xfa_ffpageview.cpp @@ -134,9 +134,9 @@ CXFA_FFPageWidgetIterator::CXFA_FFPageWidgetIterator(CXFA_FFPageView* pPageView, m_pPageView = pPageView; m_dwFilter = dwFilter; m_sIterator.Init(pPageView); - m_bIgnorerelevant = ((CXFA_FFDoc*)m_pPageView->GetDocView()->GetDoc()) - ->GetXFADoc() - ->GetCurVersionMode() < XFA_VERSION_205; + m_bIgnorerelevant = + m_pPageView->GetDocView()->GetDoc()->GetXFADoc()->GetCurVersionMode() < + XFA_VERSION_205; } CXFA_FFPageWidgetIterator::~CXFA_FFPageWidgetIterator() {} void CXFA_FFPageWidgetIterator::Reset() { @@ -200,9 +200,9 @@ CXFA_FFTabOrderPageWidgetIterator::CXFA_FFTabOrderPageWidgetIterator( CXFA_FFPageView* pPageView, uint32_t dwFilter) : m_pPageView(pPageView), m_dwFilter(dwFilter), m_iCurWidget(-1) { - m_bIgnorerelevant = ((CXFA_FFDoc*)m_pPageView->GetDocView()->GetDoc()) - ->GetXFADoc() - ->GetCurVersionMode() < XFA_VERSION_205; + m_bIgnorerelevant = + m_pPageView->GetDocView()->GetDoc()->GetXFADoc()->GetCurVersionMode() < + XFA_VERSION_205; Reset(); } |