[poppler] poppler/poppler: PDFDoc.cc,1.8,1.9

Brad Hards bradh at freedesktop.org
Wed Dec 7 00:42:23 PST 2005


Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv24774/poppler

Modified Files:
	PDFDoc.cc 
Log Message:
Remove the version check. OK'd by krh.


Index: PDFDoc.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/PDFDoc.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- PDFDoc.cc	30 Oct 2005 20:29:05 -0000	1.8
+++ PDFDoc.cc	7 Dec 2005 08:42:21 -0000	1.9
@@ -310,11 +310,7 @@
     pdfVersion = atof(p);
     setlocale(LC_NUMERIC, theLocale);
   }
-  if (!(hdrBuf[i+5] >= '0' && hdrBuf[i+5] <= '9') ||
-      pdfVersion > supportedPDFVersionNum + 0.0001) {
-    error(-1, "PDF version %s -- xpdf supports version %s"
-	  " (continuing anyway)", p, supportedPDFVersionStr);
-  }
+  // We don't do the version check. Don't add it back in.
 }
 
 GBool PDFDoc::checkEncryption(GooString *ownerPassword, GooString *userPassword) {



More information about the poppler mailing list