diff options
Diffstat (limited to 'fpdfsdk/cpdfsdk_helpers.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_helpers.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/fpdfsdk/cpdfsdk_helpers.cpp b/fpdfsdk/cpdfsdk_helpers.cpp index 391e79758f..943e3a3153 100644 --- a/fpdfsdk/cpdfsdk_helpers.cpp +++ b/fpdfsdk/cpdfsdk_helpers.cpp @@ -199,15 +199,7 @@ void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot) { } } -void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) { - // Security - if (err_code == FPDF_ERR_SECURITY) { - RaiseUnSupportError(FPDF_UNSP_DOC_SECURITY); - return; - } - if (!pDoc) - return; - +void ReportUnsupportedFeatures(CPDF_Document* pDoc) { const CPDF_Dictionary* pRootDict = pDoc->GetRoot(); if (pRootDict) { // Portfolios and Packages @@ -236,6 +228,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) { } } } + // SharedForm const CPDF_Stream* pStream = pRootDict->GetStreamFor("Metadata"); if (pStream) { |