[poppler] Branch 'poppler-0.26' - poppler/Catalog.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun Jul 20 11:34:05 PDT 2014
poppler/Catalog.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 26372cfae029a1124e042855c58bf5b70f281c76
Author: Ed Porras <ed at moto-research.com>
Date: Sun Jul 20 20:33:48 2014 +0200
printf -> error
Bug #81513
diff --git a/poppler/Catalog.cc b/poppler/Catalog.cc
index 4464346..039f63e 100644
--- a/poppler/Catalog.cc
+++ b/poppler/Catalog.cc
@@ -30,6 +30,7 @@
// Copyright (C) 2013 Adrian Perez de Castro <aperez at igalia.com>
// Copyright (C) 2013 Adrian Johnson <ajohnson at redneon.com>
// Copyright (C) 2013 José Aliste <jaliste at src.gnome.org>
+// Copyright (C) 2014 Ed Porras <ed at moto-research.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -731,7 +732,7 @@ GBool NameTree::lookup(GooString *name, Object *obj)
(*entry)->value.fetch(xref, obj);
return gTrue;
} else {
- printf("failed to look up %s\n", name->getCString());
+ error(errSyntaxError, -1, "failed to look up ({0:s})", name->getCString());
obj->initNull();
return gFalse;
}
More information about the poppler
mailing list