poppler/Catalog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 26372cfae029a1124e042855c58bf5b70f281c76 Author: Ed Porras <[email protected]> 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 <[email protected]> // Copyright (C) 2013 Adrian Johnson <[email protected]> // Copyright (C) 2013 José Aliste <[email protected]> +// Copyright (C) 2014 Ed Porras <[email protected]> // // 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; }
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
