]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Page.h
guard against unloaded docs when the title is accessed.
[evince.git] / pdf / xpdf / Page.h
index 8fa1ef603490aa9f1cf929573bd6984574fce0c8..ab6442c751ae509a0345b552b7246ee3760a1b1b 100644 (file)
@@ -146,7 +146,8 @@ public:
   Object *getThumb(Object *obj) { return thumb.fetch(xref, obj); }
 
   // Display a page.
-  void display(OutputDev *out, double hDPI, double vDPI, int rotate,
+  void display(OutputDev *out, double hDPI, double vDPI,
+              int rotate, GBool crop,
               Links *links, Catalog *catalog,
               GBool (*abortCheckCbk)(void *data) = NULL,
               void *abortCheckCbkData = NULL,
@@ -154,7 +155,8 @@ public:
                void *annotDisplayDecideCbkData = NULL);
 
   // Display part of a page.
-  void displaySlice(OutputDev *out, double hDPI, double vDPI, int rotate,
+  void displaySlice(OutputDev *out, double hDPI, double vDPI,
+                   int rotate, GBool crop,
                    int sliceX, int sliceY, int sliceW, int sliceH,
                    Links *links, Catalog *catalog,
                    GBool (*abortCheckCbk)(void *data) = NULL,