summaryrefslogtreecommitdiff
path: root/sd/qa/unit/SdrPdfImportTest.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-15 23:17:23 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-12-07 10:39:41 +0100
commit5cfac9be8a55348e7d3bc773aae5bff6b1739080 (patch)
treeb07590d670ab10e622c63cae10e848efe8383bbe /sd/qa/unit/SdrPdfImportTest.cxx
parente70168ec88642dc4940bf6cf7ae49a97afc84916 (diff)
tdf#42949 Fix new IWYU warnings in sd/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I360874fb66c9359abf46a00116d73f87ad122168 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106083 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/qa/unit/SdrPdfImportTest.cxx')
-rw-r--r--sd/qa/unit/SdrPdfImportTest.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/sd/qa/unit/SdrPdfImportTest.cxx b/sd/qa/unit/SdrPdfImportTest.cxx
index 3125663d1908..657bb416c361 100644
--- a/sd/qa/unit/SdrPdfImportTest.cxx
+++ b/sd/qa/unit/SdrPdfImportTest.cxx
@@ -10,25 +10,28 @@
#include <test/bootstrapfixture.hxx>
#include <unotest/macros_test.hxx>
-#include <svdpdf.hxx>
-
#include <config_features.h>
#include <comphelper/scopeguard.hxx>
-#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
+// Prevent workdir/UnpackedTarball/pdfium/public/fpdfview.h from including windows.h in a way that
+// it will define e.g. Yield as a macro:
+#include <prewin.h>
+#include <postwin.h>
+#include <fpdfview.h>
+
#include <unotools/tempfile.hxx>
#include <unotools/mediadescriptor.hxx>
#include <tools/stream.hxx>
#include <svx/svdograf.hxx>
#include <editeng/outlobj.hxx>
#include <editeng/editobj.hxx>
+#include <vcl/filter/PDFiumLibrary.hxx>
+#include <vcl/pdf/PDFAnnotationSubType.hxx>
#include <DrawDocShell.hxx>
-#include <DrawController.hxx>
#include <ViewShell.hxx>
-#include <drawdoc.hxx>
#include <sdpage.hxx>
#include <unomodel.hxx>