diff options
author | Albert Astals Cid <aacid@kde.org> | 2006-02-25 12:30:30 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2006-02-25 12:30:30 +0000 |
commit | 1bf83cdc8b75e1c76956ae643ee273e0b558fd08 (patch) | |
tree | 25d8b3d04990716e0a3b6aabcc766ae1cba1bf4a | |
parent | eb5642f396c8772c83b2cf27da437413b692c952 (diff) |
fix warning
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | poppler/Object.cc | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-02-25 Albert Astals Cid <aacid@kde.org> + + * poppler/Object.cc: Fix warning + 2006-02-23 Albert Astals Cid <aacid@kde.org> * utils/Makefile.am: Do not build pdftoppm when SplashOutputDev is 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(); |