summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Porras <ed@moto-research.com>2014-07-20 20:33:48 +0200
committerAlbert Astals Cid <aacid@kde.org>2014-07-20 20:33:48 +0200
commit26372cfae029a1124e042855c58bf5b70f281c76 (patch)
tree6dec60bfc455e05457cdd0be7a21772b9a3fc4e8
parent87d12c09281e3d12cda0fadcd65ab78928dff283 (diff)
printf -> error
Bug #81513
-rw-r--r--poppler/Catalog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/poppler/Catalog.cc b/poppler/Catalog.cc
index 44643468..039f63e1 100644
--- a/poppler/Catalog.cc
+++ b/poppler/Catalog.cc
@@ -30,6 +30,7 @@
// Copyright (C) 2013 Adrian Perez de Castro <aperez@igalia.com>
// Copyright (C) 2013 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2013 José Aliste <jaliste@src.gnome.org>
+// Copyright (C) 2014 Ed Porras <ed@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;
}