[poppler] qt5/src
Pino Toscano
pino at kemper.freedesktop.org
Sun Apr 6 11:24:03 PDT 2014
qt5/src/poppler-private.cc | 2 --
qt5/src/poppler-private.h | 2 --
2 files changed, 4 deletions(-)
New commits:
commit 80107c72ac03bf4d00b2d71d6f947c139ea84ab5
Author: Pino Toscano <pino at kde.org>
Date: Sun Apr 6 20:17:31 2014 +0200
qt5: remove m_fontInfoIterator from Document
it was used by the deprecated scanForFonts API, which was not provided
in poppler-qt5
diff --git a/qt5/src/poppler-private.cc b/qt5/src/poppler-private.cc
index 1e47c6d..5ca4360 100644
--- a/qt5/src/poppler-private.cc
+++ b/qt5/src/poppler-private.cc
@@ -228,7 +228,6 @@ namespace Debug {
qDeleteAll(m_embeddedFiles);
delete (OptContentModel *)m_optContentModel;
delete doc;
- delete m_fontInfoIterator;
count --;
if ( count == 0 )
@@ -240,7 +239,6 @@ namespace Debug {
void DocumentData::init()
{
- m_fontInfoIterator = 0;
m_backend = Document::SplashBackend;
paperColor = Qt::white;
m_hints = 0;
diff --git a/qt5/src/poppler-private.h b/qt5/src/poppler-private.h
index 6eb9612..18f0a69 100644
--- a/qt5/src/poppler-private.h
+++ b/qt5/src/poppler-private.h
@@ -125,7 +125,6 @@ namespace Poppler {
void fillMembers()
{
- m_fontInfoIterator = new FontIterator(0, this);
int numEmb = doc->getCatalog()->numEmbeddedFiles();
if (!(0 == numEmb)) {
// we have some embedded documents, build the list
@@ -142,7 +141,6 @@ namespace Poppler {
QString m_filePath;
QByteArray fileContents;
bool locked;
- FontIterator *m_fontInfoIterator;
Document::RenderBackend m_backend;
QList<EmbeddedFile*> m_embeddedFiles;
QPointer<OptContentModel> m_optContentModel;
More information about the poppler
mailing list