[poppler] poppler/qt4/src: poppler-private.h,1.15,1.16
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Jan 4 11:10:18 PST 2007
Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv2234/qt4/src
Modified Files:
poppler-private.h
Log Message:
qt4/src/poppler-private.h: gmallocn -> new[]
Index: poppler-private.h
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-private.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- poppler-private.h 15 Nov 2006 21:07:50 -0000 1.15
+++ poppler-private.h 4 Jan 2007 19:10:16 -0000 1.16
@@ -45,7 +45,7 @@
static UGooString *QStringToUGooString(const QString &s) {
int len = s.length();
- Unicode *u = (Unicode *)gmallocn(s.length(), sizeof(Unicode));
+ Unicode *u = new Unicode[s.length()];
for (int i = 0; i < len; ++i)
u[i] = s.at(i).unicode();
return new UGooString(u, len);
More information about the poppler
mailing list