Commit 486e05b2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent 12cb9d4e
Pipeline #38506 failed with stage
in 11 minutes and 23 seconds
......@@ -19,7 +19,6 @@
#include <QApplication>
#include <QDialogButtonBox>
#include <QDomDocument>
#include <QDomElement>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QLabel>
......
......@@ -9,11 +9,9 @@
#include "area.h"
#include <QDebug>
#include <QPolygonF>
#include <QRect>
#include <math.h>
#include "action.h"
#include "annotations.h"
......
......@@ -40,7 +40,6 @@
#include <QMimeDatabase>
#include <QPageSize>
#include <QPrintDialog>
#include <QPrinter>
#include <QRegularExpression>
#include <QScreen>
#include <QStack>
......
......@@ -16,7 +16,6 @@
#include <QFileInfo>
#include <QLabel>
#include <QPrintEngine>
#include <QPrinter>
#include <QShowEvent>
#include <QSize>
#include <QStringList>
......
......@@ -29,7 +29,6 @@
#include <KWallet>
#endif
#include "document.h"
#include "document_p.h"
#include "page.h"
#include "page_p.h"
......
......@@ -12,7 +12,6 @@
#include <QDebug>
#include "fontinfo.h"
#include "generator.h"
#include "utils.h"
using namespace Okular;
......
......@@ -29,7 +29,6 @@
#include "action.h"
#include "annotations.h"
#include "annotations_p.h"
#include "area.h"
#include "debug_p.h"
#include "document.h"
#include "document_p.h"
......@@ -40,7 +39,6 @@
#include "pagesize.h"
#include "pagetransition.h"
#include "rotationjob_p.h"
#include "textpage.h"
#include "textpage_p.h"
#include "tile.h"
#include "tilesmanager_p.h"
......
......@@ -27,7 +27,6 @@
#include "page.h"
#include "textpage.h"
#include "document.h"
#include <cmath>
......
......@@ -22,7 +22,6 @@
#include <QCoreApplication>
#include <QMimeDatabase>
#include <QMimeType>
#include <QUrl>
#include <QBitArray>
#include <QDir>
......
......@@ -22,7 +22,6 @@
#include "ebook_chm.h"
#include "ebook_chm_encoding.h"
#include "helper_entitydecoder.h"
#include "bitfiddle.h"
......
......@@ -13,7 +13,6 @@
#include <QDomDocument>
#include <QFile>
#include <QHash>
#include <QList>
#include <QPainter>
#include <QQueue>
#include <QString>
......
......@@ -16,10 +16,8 @@
#include "dviRenderer.h"
#include "dvisourcesplitter.h"
#include "hyperlink.h"
#include "prebookmark.h"
#include "psgs.h"
//#include "renderedDviPagePixmap.h"
#include "dviPageInfo.h"
#include <KConfig>
#include <KLocalizedString>
......
......@@ -32,7 +32,6 @@
#include <QEventLoop>
#include <QFileInfo>
#include <QLabel>
#include <QPrinter>
#include <QTemporaryFile>
#include <QStandardPaths>
......
......@@ -21,7 +21,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <QDebug>
......
......@@ -11,7 +11,6 @@
#include <KLocalizedString>
#include <QDir>
#include <QTextCursor>
#include <QTextDocument>
#include <QTextFrame>
......
......@@ -21,7 +21,6 @@ extern "C" {
}
#include "image.h"
#include "unpluck.h"
#define GET_FUNCTION_CODE_TYPE(x) (((x) >> 3) & 0x1F)
#define GET_FUNCTION_CODE_DATALEN(x) ((x)&0x7)
......
......@@ -13,7 +13,6 @@
#include "annots.h"
#include <poppler-annotation.h>
// qt/kde includes
#include <QLoggingCategory>
......@@ -22,7 +21,6 @@
#include <core/annotations.h>
#include <core/area.h>
#include "config-okular-poppler.h"
#include "debug_pdf.h"
#include "generator_pdf.h"
#include "popplerembeddedfile.h"
......
......@@ -17,7 +17,6 @@
#include <poppler-qt5.h>
#include <config-okular-poppler.h>
extern Okular::Action *createLinkFromPopplerLink(const Poppler::Link *popplerLink, bool deletePopplerLink = true);
#define SET_ANNOT_ACTIONS \
......
......@@ -45,7 +45,6 @@
#include <core/movie.h>
#include <core/page.h>
#include <core/pagetransition.h>
#include <core/printoptionswidget.h>
#include <core/sound.h>
#include <core/sourcereference.h>
#include <core/textpage.h>
......
......@@ -27,7 +27,6 @@
#include <QTimer>
#include <core/bookmarkmanager.h>
#include <core/document.h>
#include <core/generator.h>
#include <core/page.h>
......
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