Index: xfa/fxfa/app/xfa_ffpageview.cpp |
diff --git a/xfa/fxfa/app/xfa_ffpageview.cpp b/xfa/fxfa/app/xfa_ffpageview.cpp |
index 11628aa790cf268fb23da6d97b6194b2fcc586f8..f1898c83f1153d3c1ffed022e07d088d1429888d 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); |