[poppler] poppler/poppler: Outline.cc,1.3,1.4
Albert Astals Cid
aacid at freedesktop.org
Thu Sep 15 05:32:27 PDT 2005
Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv24301/poppler
Modified Files:
Outline.cc
Log Message:
Another small merge from xpdf 3.01
Index: Outline.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Outline.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Outline.cc 27 Aug 2005 08:43:43 -0000 1.3
+++ Outline.cc 15 Sep 2005 12:32:25 -0000 1.4
@@ -44,7 +44,7 @@
//------------------------------------------------------------------------
OutlineItem::OutlineItem(Dict *dict, XRef *xrefA) {
- Object obj1, obj2;
+ Object obj1;
GooString *s;
int i;
@@ -79,10 +79,10 @@
action = LinkAction::parseDest(&obj1);
} else {
obj1.free();
- dict->lookup("A", &obj1);
- if (!obj1.isNull())
+ if (!dict->lookup("A", &obj1)->isNull()) {
action = LinkAction::parseAction(&obj1);
}
+ }
obj1.free();
dict->lookupNF("First", &firstRef);
More information about the poppler
mailing list