[poppler] poppler/poppler: Object.cc,1.2,1.3

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Feb 25 04:30:33 PST 2006


Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv26392/poppler

Modified Files:
	Object.cc 
Log Message:
fix warning


Index: Object.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Object.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Object.cc	15 Sep 2005 12:28:34 -0000	1.2
+++ Object.cc	25 Feb 2006 12:30:30 -0000	1.3
@@ -18,6 +18,7 @@
 #include "Dict.h"
 #include "Error.h"
 #include "Stream.h"
+#include "UGooString.h"
 #include "XRef.h"
 
 //------------------------------------------------------------------------
@@ -184,7 +185,7 @@
   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();



More information about the poppler mailing list