]> www.fi.muni.cz Git - evince.git/commitdiff
:Thumb): Added a flag for keeping Thumb data validity and the method to GPDF_0_132
authorRemi Cohen-Scali <rcoscali@cvs.gnome.org>
Sun, 9 May 2004 08:33:56 +0000 (08:33 +0000)
committerRémi Cohen-Scali <rcoscali@src.gnome.org>
Sun, 9 May 2004 08:33:56 +0000 (08:33 +0000)
2004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Thumb.cc (Thumb::Thumb):
* xpdf/Thumb.h:
Added a flag for keeping Thumb data validity and the
method to access it.

pdf/xpdf/Thumb.cc

index bc735b8f4b4f6bcc04f008d0297290afd93d165f..0fdbf541a55ce6580c5c359f8d7440d5898c3f90 100644 (file)
@@ -42,7 +42,8 @@
 
 Thumb::Thumb(XRef *xrefA, Object *obj) :
   xref(xrefA),
-  str(NULL)
+  str(NULL),
+  ok_flag(0)
 {
        Object obj1, obj2;
        Dict *dict;
@@ -139,6 +140,8 @@ Thumb::Thumb(XRef *xrefA, Object *obj) :
                obj1.free ();
 
                str->addFilters(obj);
+
+               ok_flag = 1; 
        }
        while (0);      
 }