diff options
author | tsepez <tsepez@chromium.org> | 2016-04-29 09:45:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-29 09:45:46 -0700 |
commit | d15ba4e29607665db35bc6fb610cc566981b324a (patch) | |
tree | e80465d1a9849f909b57f9ab82ad4ca58751cc0e /xfa/fxfa/app | |
parent | b7a9604a34c3edf2d26dd109577fc417e45e149b (diff) | |
download | pdfium-d15ba4e29607665db35bc6fb610cc566981b324a.tar.xz |
Replace CFX_PtryArray with typesafe CFX_ArrayTemplate, Part 7
Remaining uses are all in fxbarcode/.
Review-Url: https://codereview.chromium.org/1937453002
Diffstat (limited to 'xfa/fxfa/app')
-rw-r--r-- | xfa/fxfa/app/xfa_ffpageview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffpageview.cpp b/xfa/fxfa/app/xfa_ffpageview.cpp index 11628aa790..f1898c83f1 100644 --- a/xfa/fxfa/app/xfa_ffpageview.cpp +++ b/xfa/fxfa/app/xfa_ffpageview.cpp @@ -351,7 +351,7 @@ void CXFA_FFTabOrderPageWidgetIterator::OrderContainer( FX_BOOL& bCurrentItem, FX_BOOL& bContentArea, FX_BOOL bMarsterPage) { - CFX_PtrArray tabParams; + CFX_ArrayTemplate<CXFA_TabParam*> tabParams; CXFA_LayoutItem* pSearchItem = sIterator->MoveToNext(); while (pSearchItem) { if (!pSearchItem->IsContentLayoutItem()) { @@ -393,7 +393,7 @@ void CXFA_FFTabOrderPageWidgetIterator::OrderContainer( XFA_TabOrderWidgetComparator); } for (int32_t iStart = 0; iStart < iChildren; iStart++) { - CXFA_TabParam* pParam = (CXFA_TabParam*)tabParams[iStart]; + CXFA_TabParam* pParam = tabParams[iStart]; pContainer->m_Children.Add(pParam->m_pWidget); if (pParam->m_Children.GetSize() > 0) { pContainer->m_Children.Append(pParam->m_Children); |