From 0bbb2d855b938c7dda3dd56baf7131b1861ae850 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 29 Oct 2015 09:18:03 -0400 Subject: Remove linearized path print statements This CL makes the pdfium_test app a little less chatty by removing the print statements around linearized paths. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1415333007 . --- samples/pdfium_test.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'samples') diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index 0a1693ac7a..840e140040 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -381,13 +381,10 @@ void RenderPdf(const std::string& name, const char* pBuf, size_t len, (void)FPDFAvail_IsDocAvail(pdf_avail, &hints); - if (FPDFAvail_IsLinearized(pdf_avail)) { - fprintf(stderr, "Linearized path...\n"); + if (FPDFAvail_IsLinearized(pdf_avail)) doc = FPDFAvail_GetDocument(pdf_avail, nullptr); - } else { - fprintf(stderr, "Non-linearized path...\n"); + else doc = FPDF_LoadCustomDocument(&file_access, nullptr); - } if (!doc) { unsigned long err = FPDF_GetLastError(); -- cgit v1.2.3