Remove unused xfa and JS headers.
authorTom Sepez <tsepez@chromium.org>
Mon, 19 Oct 2015 23:49:53 +0000 (16:49 -0700)
committerTom Sepez <tsepez@chromium.org>
Mon, 19 Oct 2015 23:49:53 +0000 (16:49 -0700)
The CPDFDocumentFromFPDFDocument() helper function now completely
abstracts the difference between xfa and master for a number of
files, so they can stop including the xfa headers.

The JS header was a stray.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1415803003 .

fpdfsdk/src/fpdf_flatten.cpp
fpdfsdk/src/fpdf_progressive.cpp
fpdfsdk/src/fpdf_transformpage.cpp
fpdfsdk/src/fpdfdoc.cpp
fpdfsdk/src/fpdfformfill.cpp

index 9d5a0d4..b2303f3 100644 (file)
@@ -6,8 +6,6 @@
 
 #include "../../public/fpdf_flatten.h"
 #include "../include/fsdk_define.h"
-#include "../include/fpdfxfa/fpdfxfa_doc.h"
-#include "../include/fpdfxfa/fpdfxfa_page.h"
 
 typedef CFX_ArrayTemplate<CPDF_Dictionary*> CPDF_ObjectArray;
 typedef CFX_ArrayTemplate<CPDF_Rect> CPDF_RectArray;
index 754974e..b7bed39 100644 (file)
@@ -8,8 +8,6 @@
 #include "../../public/fpdfview.h"
 #include "../include/fsdk_define.h"
 #include "../include/fsdk_rendercontext.h"
-#include "../include/fpdfxfa/fpdfxfa_doc.h"
-#include "../include/fpdfxfa/fpdfxfa_page.h"
 
 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap,
                                                   FPDF_PAGE page,
index 132f668..cdc646a 100644 (file)
@@ -6,8 +6,6 @@
 
 #include "../../public/fpdf_transformpage.h"
 #include "../include/fsdk_define.h"
-#include "../include/fpdfxfa/fpdfxfa_doc.h"
-#include "../include/fpdfxfa/fpdfxfa_page.h"
 
 namespace {
 
index d1b71ac..b770295 100644 (file)
@@ -6,8 +6,6 @@
 
 #include "../../public/fpdf_doc.h"
 #include "../include/fsdk_define.h"
-#include "../include/fpdfxfa/fpdfxfa_doc.h"
-#include "../include/fpdfxfa/fpdfxfa_page.h"
 
 namespace {
 
index 9fe024c..a493c7f 100644 (file)
@@ -13,8 +13,6 @@
 #include "../include/fpdfxfa/fpdfxfa_page.h"
 #include "../include/fpdfxfa/fpdfxfa_app.h"
 
-#include "../include/javascript/IJavaScript.h"
-
 namespace {
 
 CPDFSDK_Document* FormHandleToSDKDoc(FPDF_FORMHANDLE hHandle) {