diff options
Diffstat (limited to 'fpdfsdk/fpdfsave.cpp')
-rw-r--r-- | fpdfsdk/fpdfsave.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfsave.cpp b/fpdfsdk/fpdfsave.cpp index 7b08194bf4..9a006530c2 100644 --- a/fpdfsdk/fpdfsave.cpp +++ b/fpdfsdk/fpdfsave.cpp @@ -107,10 +107,7 @@ bool SaveXFADocumentData(CPDFXFA_Document* pDocument, if (!pXFA) return true; - if (!pXFA->IsArray()) - return false; - - CPDF_Array* pArray = pXFA->GetArray(); + CPDF_Array* pArray = pXFA->AsArray(); if (!pArray) return false; |