diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdoc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp index 47c82151fe..030883b5cc 100644 --- a/xfa/fxfa/cxfa_ffdoc.cpp +++ b/xfa/fxfa/cxfa_ffdoc.cpp @@ -50,7 +50,7 @@ bool CXFA_FFDoc::ParseDoc(const CPDF_Object* pElementXFA) { std::vector<const CPDF_Stream*> xfaStreams; if (pElementXFA->IsArray()) { const CPDF_Array* pXFAArray = pElementXFA->AsArray(); - for (size_t i = 0; i < pXFAArray->GetCount() / 2; i++) { + for (size_t i = 0; i < pXFAArray->size() / 2; i++) { if (const CPDF_Stream* pStream = pXFAArray->GetStreamAt(i * 2 + 1)) xfaStreams.push_back(pStream); } |