summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-02 16:16:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-02 16:16:05 +0000
commit3998067026e9087d73f56395266426f3ad7aa660 (patch)
tree8eb0358b96e9d0ac45a317d0ccbe762cf5bb3c9f /fpdfsdk
parent8f4f0ede809a9bae283538f5c6930c5d7ba13585 (diff)
downloadpdfium-3998067026e9087d73f56395266426f3ad7aa660.tar.xz
Remove FPDF_SetPrintPostscriptLevel().chromium/3387
This experimental API has been superceded by FPDF_SetPrintMode(). Change-Id: I41f8efbb2f40edea60df55c36f7ee3743ac20839 Reviewed-on: https://pdfium-review.googlesource.com/29510 Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdf_view.cpp5
-rw-r--r--fpdfsdk/fpdf_view_c_api_test.c1
2 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/fpdf_view.cpp b/fpdfsdk/fpdf_view.cpp
index a0877f38b5..655aed8141 100644
--- a/fpdfsdk/fpdf_view.cpp
+++ b/fpdfsdk/fpdf_view.cpp
@@ -209,11 +209,6 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_SetPrintTextWithGDI(FPDF_BOOL use_gdi) {
}
#endif // PDFIUM_PRINT_TEXT_WITH_GDI
-FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
-FPDF_SetPrintPostscriptLevel(int postscript_level) {
- return postscript_level != 1 && FPDF_SetPrintMode(postscript_level);
-}
-
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_SetPrintMode(int mode) {
if (mode < FPDF_PRINTMODE_EMF || mode > FPDF_PRINTMODE_POSTSCRIPT3)
return FALSE;
diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c
index df7ade8539..d00f353db5 100644
--- a/fpdfsdk/fpdf_view_c_api_test.c
+++ b/fpdfsdk/fpdf_view_c_api_test.c
@@ -325,7 +325,6 @@ int CheckPDFiumCApi() {
CHK(FPDF_SetTypefaceAccessibleFunc);
CHK(FPDF_SetPrintTextWithGDI);
#endif
- CHK(FPDF_SetPrintPostscriptLevel);
CHK(FPDF_SetPrintMode);
#endif
CHK(FPDF_LoadDocument);