summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-06-10 12:30:21 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-06-13 09:22:08 +0200
commitb4c6ac332571ca054fabd3f7876d4c4b1b9df8bc (patch)
tree6cdf256ec3b9b18e6ad095bd25bd60474f35cb77 /vcl/source
parent9a18e4e0bfee4d29ee02258c70cc9edf4e7b086b (diff)
tdf#42949 Fix IWYU warnings in vcl/inc/*
Platform-specific subdirs are left alone: android, ios, osx, quartz, win Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Icbb906b7fbc960240c73c56d3dae2a78b06a0f53 Reviewed-on: https://gerrit.libreoffice.org/73754 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svapp.cxx2
-rw-r--r--vcl/source/font/fontinstance.cxx2
-rw-r--r--vcl/source/gdi/CommonSalLayout.cxx1
-rw-r--r--vcl/source/gdi/FileDefinitionWidgetDraw.cxx1
-rw-r--r--vcl/source/gdi/svmconverter.cxx2
-rw-r--r--vcl/source/graphic/Manager.cxx3
-rw-r--r--vcl/source/outdev/font.cxx1
-rw-r--r--vcl/source/outdev/text.cxx1
-rw-r--r--vcl/source/window/printdlg.cxx2
9 files changed, 14 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index d087a1595ac6..6258d34e024b 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -21,7 +21,7 @@
#include <osl/module.h>
#include <osl/file.hxx>
-#include <osl/thread.h>
+#include <osl/thread.hxx>
#include <osl/module.hxx>
#include <rtl/tencinfo.h>
diff --git a/vcl/source/font/fontinstance.cxx b/vcl/source/font/fontinstance.cxx
index bcbbe6d94d9d..0d5e6444a50c 100644
--- a/vcl/source/font/fontinstance.cxx
+++ b/vcl/source/font/fontinstance.cxx
@@ -18,6 +18,8 @@
*/
+#include <hb-ot.h>
+
#include <svdata.hxx>
#include <fontinstance.hxx>
#include <impfontcache.hxx>
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 90c519385bd2..0ecf733a328d 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <hb-icu.h>
+#include <hb-ot.h>
#include <sallayout.hxx>
diff --git a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
index 393fab87c7b0..9c91681d1817 100644
--- a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
+++ b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
@@ -9,6 +9,7 @@
*/
#include <FileDefinitionWidgetDraw.hxx>
+#include <widgetdraw/WidgetDefinitionReader.hxx>
#include <sal/config.h>
#include <svdata.hxx>
diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx
index 71c7c5c7b26f..7c019534ffe1 100644
--- a/vcl/source/gdi/svmconverter.cxx
+++ b/vcl/source/gdi/svmconverter.cxx
@@ -29,12 +29,14 @@
#include <vcl/virdev.hxx>
#include <vcl/graph.hxx>
#include <vcl/lineinfo.hxx>
+#include <vcl/metaact.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <svmconverter.hxx>
#include <memory>
+#include <stack>
// Inlines
static void ImplReadRect( SvStream& rIStm, tools::Rectangle& rRect )
diff --git a/vcl/source/graphic/Manager.cxx b/vcl/source/graphic/Manager.cxx
index c85bbc53c6dc..7a03f85468dd 100644
--- a/vcl/source/graphic/Manager.cxx
+++ b/vcl/source/graphic/Manager.cxx
@@ -23,6 +23,9 @@
#include <vcl/svapp.hxx>
#include <sal/log.hxx>
+#include <officecfg/Office/Common.hxx>
+#include <unotools/configmgr.hxx>
+
using namespace css;
namespace vcl
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 65fb116ae047..31cc27a572cc 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -21,6 +21,7 @@
#include <i18nlangtag/lang.h>
#include <unotools/configmgr.hxx>
+#include <vcl/metric.hxx>
#include <vcl/virdev.hxx>
#include <vcl/print.hxx>
#include <vcl/sysdata.hxx>
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index fb3092739ffc..5fe146448f23 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -31,6 +31,7 @@
#include <tools/debug.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/metaact.hxx>
+#include <vcl/metric.hxx>
#include <vcl/textrectinfo.hxx>
#include <vcl/virdev.hxx>
#include <vcl/bitmapaccess.hxx>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index c1365e887526..52a4c7e8e97a 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -32,8 +32,10 @@
#include <vcl/help.hxx>
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/tabpage.hxx>
#include <vcl/unohelp.hxx>
#include <vcl/settings.hxx>
+#include <vcl/virdev.hxx>
#include <vcl/builderfactory.hxx>
#include <vcl/lstbox.hxx>
#include <jobset.h>