From: Remi Cohen-Scali Date: Sun, 9 May 2004 08:33:56 +0000 (+0000) Subject: :Thumb): Added a flag for keeping Thumb data validity and the method to X-Git-Tag: GPDF_0_132 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=549c4802e6dcc0b78aa909c238abdef0199c70c3;p=evince.git :Thumb): Added a flag for keeping Thumb data validity and the method to 2004-05-09 Remi Cohen-Scali * xpdf/Thumb.cc (Thumb::Thumb): * xpdf/Thumb.h: Added a flag for keeping Thumb data validity and the method to access it. --- diff --git a/pdf/xpdf/Thumb.cc b/pdf/xpdf/Thumb.cc index bc735b8f..0fdbf541 100644 --- a/pdf/xpdf/Thumb.cc +++ b/pdf/xpdf/Thumb.cc @@ -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); }