diff options
author | Tom Sepez <tsepez@chromium.org> | 2014-12-18 15:13:46 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2014-12-18 15:13:46 -0800 |
commit | 293b95f26ee3b561db09ecec88406583e7d566f6 (patch) | |
tree | 6af18e044d789f75b8baa68dad95c4dafe984340 /fpdfsdk | |
parent | c151fbbaca3a63129ce9f627c85718f578aaf0bc (diff) | |
download | pdfium-293b95f26ee3b561db09ecec88406583e7d566f6.tar.xz |
Remove spurious XFA unsupported warning on XFA branch
R=bo_xu@foxitsoftware.com
Review URL: https://codereview.chromium.org/818543002
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/src/fpdf_ext.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fpdfsdk/src/fpdf_ext.cpp b/fpdfsdk/src/fpdf_ext.cpp index 512a617920..0ba66724fd 100644 --- a/fpdfsdk/src/fpdf_ext.cpp +++ b/fpdfsdk/src/fpdf_ext.cpp @@ -204,18 +204,6 @@ void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code) CXML_Element * pElement = metaData.GetRoot(); if(pElement) CheckSharedForm(pElement, "workflowType"); - - - // XFA Forms - CPDF_InterForm * pInterForm = FX_NEW CPDF_InterForm(pDoc,FALSE); - if (pInterForm) - { - if(pInterForm->HasXFAForm()) - { - FPDF_UnSupportError(FPDF_UNSP_DOC_XFAFORM); - } - delete pInterForm; - } } DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document) |