summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_dataavail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdf_dataavail.cpp')
-rw-r--r--fpdfsdk/fpdf_dataavail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_dataavail.cpp b/fpdfsdk/fpdf_dataavail.cpp
index d7bcf8f5c7..1b5fbeb35d 100644
--- a/fpdfsdk/fpdf_dataavail.cpp
+++ b/fpdfsdk/fpdf_dataavail.cpp
@@ -162,7 +162,7 @@ FPDFAvail_GetDocument(FPDF_AVAIL avail, FPDF_BYTESTRING password) {
document->SetExtension(pdfium::MakeUnique<CPDFXFA_Context>(document.get()));
#endif // PDF_ENABLE_XFA
- CheckUnSupportError(document.get(), FPDF_ERR_SUCCESS);
+ ReportUnsupportedFeatures(document.get());
return FPDFDocumentFromCPDFDocument(document.release());
}