Commit 002ea53f authored by Pino Toscano's avatar Pino Toscano

QVector<bool> -> QBitArray

svn path=/trunk/KDE/kdegraphics/okular/; revision=966611
parent 455b535a
......@@ -16,6 +16,8 @@
#include "lib/libchmfile.h"
#include <qbitarray.h>
class KHTMLPart;
namespace Okular {
......@@ -63,7 +65,7 @@ class CHMGenerator : public Okular::Generator
Okular::PixmapRequest* m_request;
int m_pixmapRequestZoom;
Okular::DocumentInfo* m_docInfo;
QVector<bool> m_textpageAddedList;
QBitArray m_textpageAddedList;
};
#endif
......@@ -430,6 +430,7 @@ bool PDFGenerator::doCloseDocument()
qDeleteAll(docEmbeddedFiles);
docEmbeddedFiles.clear();
nextFontPage = 0;
rectsGenerated.clear();
return true;
}
......
......@@ -15,6 +15,7 @@
#include <poppler-qt4.h>
#include <qbitarray.h>
#include <qpointer.h>
#include <qthread.h>
......@@ -144,7 +145,7 @@ class PDFGenerator : public Okular::Generator, public Okular::ConfigInterface, p
mutable QList<Okular::EmbeddedFile*> docEmbeddedFiles;
int nextFontPage;
QVector<bool> rectsGenerated;
QBitArray rectsGenerated;
QPointer<PDFOptionsPage> pdfOptionsPage;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment