summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-12-18 15:13:46 -0800
committerTom Sepez <tsepez@chromium.org>2014-12-18 15:13:46 -0800
commit293b95f26ee3b561db09ecec88406583e7d566f6 (patch)
tree6af18e044d789f75b8baa68dad95c4dafe984340 /fpdfsdk
parentc151fbbaca3a63129ce9f627c85718f578aaf0bc (diff)
downloadpdfium-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.cpp12
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)