summaryrefslogtreecommitdiff
path: root/poppler
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2006-02-25 12:30:30 +0000
committerAlbert Astals Cid <aacid@kde.org>2006-02-25 12:30:30 +0000
commit1bf83cdc8b75e1c76956ae643ee273e0b558fd08 (patch)
tree25d8b3d04990716e0a3b6aabcc766ae1cba1bf4a /poppler
parenteb5642f396c8772c83b2cf27da437413b692c952 (diff)
fix warning
Diffstat (limited to 'poppler')
-rw-r--r--poppler/Object.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/poppler/Object.cc b/poppler/Object.cc
index 0b6ac343..436e1b0e 100644
--- a/poppler/Object.cc
+++ b/poppler/Object.cc
@@ -18,6 +18,7 @@
#include "Dict.h"
#include "Error.h"
#include "Stream.h"
+#include "UGooString.h"
#include "XRef.h"
//------------------------------------------------------------------------
@@ -184,7 +185,7 @@ void Object::print(FILE *f) {
case objDict:
fprintf(f, "<<");
for (i = 0; i < dictGetLength(); ++i) {
- fprintf(f, " /%s ", dictGetKey(i));
+ fprintf(f, " /%s ", dictGetKey(i)->getCString());
dictGetValNF(i, &obj);
obj.print(f);
obj.free();