summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-01-27 12:11:38 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-01-27 21:06:07 +0000
commit5535ac7897358d9b5f2f7eb508f4aa44791e501f (patch)
tree0d29d9a8138de3612240e337760120ef8b3eada5 /fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
parent6438c4f36da162f72e0d53e8fff45cd6687b7f5c (diff)
downloadpdfium-5535ac7897358d9b5f2f7eb508f4aa44791e501f.tar.xz
Use std::vector in cpdfxfa_context.hchromium/2997chromium/2996chromium/2995
Change-Id: I5166afa96ec3e7fb0232f94fc62020d3d051a64c Reviewed-on: https://pdfium-review.googlesource.com/2450 Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
index 2b3368bc60..ec62927324 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
@@ -277,7 +277,7 @@ void CPDFXFA_DocEnvironment::PageViewEvent(CXFA_FFPageView* pPageView,
for (int iPageIter = 0; iPageIter < m_pContext->GetOriginalPageCount();
iPageIter++) {
- CPDFXFA_Page* pPage = m_pContext->GetXFAPageList()->GetAt(iPageIter);
+ CPDFXFA_Page* pPage = (*m_pContext->GetXFAPageList())[iPageIter];
if (!pPage)
continue;