[poppler] poppler/qt4/src: poppler-embeddedfile.cc,1.1,1.2
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Aug 5 10:10:09 PDT 2006
Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv22433/qt4/src
Modified Files:
poppler-embeddedfile.cc
Log Message:
2006-08-05 Albert Astals Cid <aacid at kde.org>
* poppler/Catalog.cc: The name array can contain references to strings
instead of stings themselves, or at least PDF of
https://bugs.freedesktop.org/show_bug.cgi?id=7780 does. This makes it
work with that file
* qt4/src/poppler-embeddedfile.cc: Use UGooString for description
Index: poppler-embeddedfile.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-embeddedfile.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- poppler-embeddedfile.cc 18 Jan 2006 22:38:59 -0000 1.1
+++ poppler-embeddedfile.cc 5 Aug 2006 17:10:07 -0000 1.2
@@ -25,6 +25,7 @@
#include "Object.h"
#include "Stream.h"
#include "Catalog.h"
+#include "UGooString.h"
#include "poppler-qt4.h"
@@ -45,7 +46,7 @@
{
m_embeddedFile = new EmbeddedFileData();
m_embeddedFile->m_label = QString(embfile->name()->getCString());
- m_embeddedFile->m_description = QString(embfile->description()->getCString());
+ m_embeddedFile->m_description = QString(UGooString(*embfile->description()).getCString());
m_embeddedFile->m_modDate = convertDate(embfile->modDate()->getCString());
m_embeddedFile->m_createDate = convertDate(embfile->createDate()->getCString());
embfile->streamObject().copy(&m_embeddedFile->m_streamObject);
More information about the poppler
mailing list