]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/PDFDoc.h
Fix for a number of integer overflow bugs discovered by Chris Evans.
[evince.git] / pdf / xpdf / PDFDoc.h
index 2d060dc1984e88214aa9adf3aab5958ec6d2544c..57e37a2afb7d4847904fb0e22ecd07415b5d52d5 100644 (file)
@@ -81,7 +81,7 @@ public:
 
   // Display a page.
   void displayPage(OutputDev *out, int page, double hDPI, double vDPI,
-                  int rotate, GBool doLinks,
+                  int rotate, GBool crop, GBool doLinks,
                   GBool (*abortCheckCbk)(void *data) = NULL,
                   void *abortCheckCbkData = NULL,
                    GBool (*annotDisplayDecideCbk)(Annot *annot, void *user_data) = NULL,
@@ -89,7 +89,8 @@ public:
 
   // Display a range of pages.
   void displayPages(OutputDev *out, int firstPage, int lastPage,
-                   double hDPI, double vDPI, int rotate, GBool doLinks,
+                   double hDPI, double vDPI, int rotate,
+                   GBool crop, GBool doLinks,
                    GBool (*abortCheckCbk)(void *data) = NULL,
                    void *abortCheckCbkData = NULL,
                     GBool (*annotDisplayDecideCbk)(Annot *annot, void *user_data) = NULL,
@@ -98,8 +99,8 @@ public:
   // Display part of a page.
   void displayPageSlice(OutputDev *out, int page,
                        double hDPI, double vDPI,
-                       int rotate, int sliceX, int sliceY,
-                       int sliceW, int sliceH,
+                       int rotate, GBool crop,
+                       int sliceX, int sliceY, int sliceW, int sliceH,
                        GBool (*abortCheckCbk)(void *data) = NULL,
                        void *abortCheckCbkData = NULL,
                         GBool (*annotDisplayDecideCbk)(Annot *annot, void *user_data) = NULL,