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>
diff --git a/vcl/IwyuFilter_vcl.yaml b/vcl/IwyuFilter_vcl.yaml
new file mode 100644
index 0000000..180bfa2
--- /dev/null
+++ b/vcl/IwyuFilter_vcl.yaml
@@ -0,0 +1,24 @@
---
assumeFilename: vcl/source/app/svapp.cxx
blacklist:
vcl/inc/salusereventlist.hxx:
# Don't propose hxx -> h change in URE libs
- osl/thread.hxx
vcl/inc/headless/svpgdi.hxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h
vcl/inc/headless/svpinst.hxx:
# Don't propose hxx -> h change in URE libs
- osl/thread.hxx
vcl/inc/opengl/RenderList.hxx:
# Don't replace with impl. details
- glm/glm.hpp
vcl/inc/opengl/VertexUtils.hxx:
# Don't replace with impl. details
- glm/gtx/norm.hpp
vcl/inc/unx/gendata.hxx:
# Don't propose hxx -> h change in URE libs
- osl/socket.hxx
vcl/inc/unx/saldisp.hxx:
# Don't replace with generated header
- epoxy/glx.h
diff --git a/vcl/backendtest/outputdevice/polyline_b2d.cxx b/vcl/backendtest/outputdevice/polyline_b2d.cxx
index d6b9886..b59685c 100644
--- a/vcl/backendtest/outputdevice/polyline_b2d.cxx
+++ b/vcl/backendtest/outputdevice/polyline_b2d.cxx
@@ -9,6 +9,7 @@
*/
#include <test/outputdevice.hxx>
#include <vcl/bitmapex.hxx>
namespace vcl
{
diff --git a/vcl/inc/FileDefinitionWidgetDraw.hxx b/vcl/inc/FileDefinitionWidgetDraw.hxx
index a5b95c8..9ce2122 100644
--- a/vcl/inc/FileDefinitionWidgetDraw.hxx
+++ b/vcl/inc/FileDefinitionWidgetDraw.hxx
@@ -11,8 +11,7 @@
#ifndef INCLUDED_VCL_INC_FILEDEFINITIONWIDGETDRAW_HXX
#define INCLUDED_VCL_INC_FILEDEFINITIONWIDGETDRAW_HXX
#include <vcl/dllapi.h>
#include "widgetdraw/WidgetDefinitionReader.hxx"
#include "widgetdraw/WidgetDefinition.hxx"
#include "salgdi.hxx"
#include "WidgetDrawInterface.hxx"
diff --git a/vcl/inc/WidgetThemeLibraryTypes.hxx b/vcl/inc/WidgetThemeLibraryTypes.hxx
index a00a867..b3270bf 100644
--- a/vcl/inc/WidgetThemeLibraryTypes.hxx
+++ b/vcl/inc/WidgetThemeLibraryTypes.hxx
@@ -11,8 +11,6 @@
#ifndef INCLUDED_VCL_INC_WIDGETTHEMETYPES_HXX
#define INCLUDED_VCL_INC_WIDGETTHEMETYPES_HXX
#include <cstdint>
#include <o3tl/typed_flags_set.hxx>
/**
diff --git a/vcl/inc/canvasbitmap.hxx b/vcl/inc/canvasbitmap.hxx
index a7c912b..a22ba43 100644
--- a/vcl/inc/canvasbitmap.hxx
+++ b/vcl/inc/canvasbitmap.hxx
@@ -23,11 +23,9 @@
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/rendering/XIntegerReadOnlyBitmap.hpp>
#include <com/sun/star/rendering/XIntegerBitmapColorSpace.hpp>
#include <com/sun/star/rendering/XIntegerBitmap.hpp>
#include <com/sun/star/rendering/XBitmapPalette.hpp>
#include <vcl/bitmapex.hxx>
#include <vcl/bitmapaccess.hxx>
namespace vcl
{
diff --git a/vcl/inc/displayconnectiondispatch.hxx b/vcl/inc/displayconnectiondispatch.hxx
index ff12478..c9fda47 100644
--- a/vcl/inc/displayconnectiondispatch.hxx
+++ b/vcl/inc/displayconnectiondispatch.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/awt/XDisplayConnection.hpp>
#include <cppuhelper/implbase.hxx>
#include <osl/mutex.hxx>
#include <rtl/ref.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <vector>
diff --git a/vcl/inc/dndeventdispatcher.hxx b/vcl/inc/dndeventdispatcher.hxx
index a6af677..afd11ce 100644
--- a/vcl/inc/dndeventdispatcher.hxx
+++ b/vcl/inc/dndeventdispatcher.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
#include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp>
#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hpp>
#include <cppuhelper/implbase.hxx>
#include <vcl/window.hxx>
diff --git a/vcl/inc/factory.hxx b/vcl/inc/factory.hxx
index 5520384..7ddc0c5 100644
--- a/vcl/inc/factory.hxx
+++ b/vcl/inc/factory.hxx
@@ -25,7 +25,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace lang {
diff --git a/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx b/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx
index 01fbf6b..693c3e5 100644
--- a/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx
+++ b/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx
@@ -13,7 +13,6 @@
#include <vcl/dllapi.h>
#include <vcl/font/Feature.hxx>
#include <rtl/instance.hxx>
#include <memory>
#include <vector>
#include <unordered_map>
diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx
index 358f9bc..352ea10 100644
--- a/vcl/inc/fontattributes.hxx
+++ b/vcl/inc/fontattributes.hxx
@@ -23,7 +23,6 @@
#include <vcl/dllapi.h>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <vcl/vclenum.hxx>
#include <tools/fontenum.hxx>
diff --git a/vcl/inc/fontinstance.hxx b/vcl/inc/fontinstance.hxx
index a0f700c..7c4c6d3 100644
--- a/vcl/inc/fontinstance.hxx
+++ b/vcl/inc/fontinstance.hxx
@@ -23,17 +23,17 @@
#include "fontselect.hxx"
#include "impfontmetricdata.hxx"
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx>
#include <tools/gen.hxx>
#include <tools/fontenum.hxx>
#include <vcl/glyphitem.hxx>
#include <vcl/vcllayout.hxx>
#include <unordered_map>
#include <memory>
#include <hb-ot.h>
#include <hb.h>
class ConvertChar;
class ImplFontCache;
diff --git a/vcl/inc/fontselect.hxx b/vcl/inc/fontselect.hxx
index e021f7a..7df7dd9 100644
--- a/vcl/inc/fontselect.hxx
+++ b/vcl/inc/fontselect.hxx
@@ -21,12 +21,11 @@
#define INCLUDED_VCL_INC_FONTSELECT_HXX
#include <i18nlangtag/lang.h>
#include <rtl/ref.hxx>
#include <vcl/vclenum.hxx>
#include "fontattributes.hxx"
#include <ostream>
#include <unordered_map>
namespace vcl { class Font; }
diff --git a/vcl/inc/fontsubset.hxx b/vcl/inc/fontsubset.hxx
index 76551c2..54fa209 100644
--- a/vcl/inc/fontsubset.hxx
+++ b/vcl/inc/fontsubset.hxx
@@ -24,7 +24,8 @@
#include <tools/gen.hxx>
#include <o3tl/typed_flags_set.hxx>
#include "sallayout.hxx"
#include <vcl/dllapi.h>
#include <vcl/glyphitem.hxx>
namespace vcl { struct TrueTypeFont; } ///< SFT's idea of a TTF font
diff --git a/vcl/inc/graphic/Manager.hxx b/vcl/inc/graphic/Manager.hxx
index d6c0d71..a756450c 100644
--- a/vcl/inc/graphic/Manager.hxx
+++ b/vcl/inc/graphic/Manager.hxx
@@ -15,13 +15,9 @@
#include <vcl/bitmapex.hxx>
#include <vcl/animate/Animation.hxx>
#include <vcl/vectorgraphicdata.hxx>
#include <vcl/metaact.hxx>
#include <vcl/timer.hxx>
#include <vcl/GraphicExternalLink.hxx>
#include <officecfg/Office/Common.hxx>
#include <unotools/configmgr.hxx>
#include <memory>
#include <mutex>
#include <chrono>
diff --git a/vcl/inc/graphic/UnoGraphic.hxx b/vcl/inc/graphic/UnoGraphic.hxx
index e0ec65d..0bef26b 100644
--- a/vcl/inc/graphic/UnoGraphic.hxx
+++ b/vcl/inc/graphic/UnoGraphic.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_SOURCE_GRAPHIC_GRAPHIC_HXX
#define INCLUDED_VCL_SOURCE_GRAPHIC_GRAPHIC_HXX
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/awt/XBitmap.hpp>
diff --git a/vcl/inc/graphic/UnoGraphicTransformer.hxx b/vcl/inc/graphic/UnoGraphicTransformer.hxx
index 7814c37..785efdc 100644
--- a/vcl/inc/graphic/UnoGraphicTransformer.hxx
+++ b/vcl/inc/graphic/UnoGraphicTransformer.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_SOURCE_GRAPHIC_TRANSFORMER_HXX
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/graphic/XGraphicTransformer.hpp>
namespace unographic {
diff --git a/vcl/inc/headless/CustomWidgetDraw.hxx b/vcl/inc/headless/CustomWidgetDraw.hxx
index caa809e..7abd844 100644
--- a/vcl/inc/headless/CustomWidgetDraw.hxx
+++ b/vcl/inc/headless/CustomWidgetDraw.hxx
@@ -16,7 +16,6 @@
#include <WidgetThemeLibrary.hxx>
#include <headless/svpgdi.hxx>
#include <vcl/settings.hxx>
#include <memory>
namespace vcl
{
diff --git a/vcl/inc/headless/svpbmp.hxx b/vcl/inc/headless/svpbmp.hxx
index d97c0fe..ff35c4c 100644
--- a/vcl/inc/headless/svpbmp.hxx
+++ b/vcl/inc/headless/svpbmp.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_INC_HEADLESS_SVPBMP_HXX
#include <sal/config.h>
#include <tools/solar.h>
#include <salbmp.hxx>
diff --git a/vcl/inc/headless/svpdummies.hxx b/vcl/inc/headless/svpdummies.hxx
index 0b7ddf8..ddcc7d7 100644
--- a/vcl/inc/headless/svpdummies.hxx
+++ b/vcl/inc/headless/svpdummies.hxx
@@ -23,8 +23,6 @@
#include <vcl/sysdata.hxx>
#include <unx/gensys.h>
#include <salobj.hxx>
#include <salimestatus.hxx>
#include <salsys.hxx>
class SalGraphics;
diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx
index c997d77..bf48b07 100644
--- a/vcl/inc/headless/svpframe.hxx
+++ b/vcl/inc/headless/svpframe.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_INC_HEADLESS_SVPFRAME_HXX
#include <vcl/sysdata.hxx>
#include <basegfx/range/b2ibox.hxx>
#include <salframe.hxx>
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index 73d80da..5a4f0bc 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -26,7 +26,6 @@
#include <osl/endian.h>
#include <vcl/sysdata.hxx>
#include <vcl/metric.hxx>
#include <config_cairo_canvas.h>
#include <salgdi.hxx>
diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx
index 6ea4016..546a374 100644
--- a/vcl/inc/headless/svpinst.hxx
+++ b/vcl/inc/headless/svpinst.hxx
@@ -20,21 +20,17 @@
#ifndef INCLUDED_VCL_INC_HEADLESS_SVPINST_HXX
#define INCLUDED_VCL_INC_HEADLESS_SVPINST_HXX
#include <osl/mutex.hxx>
#include <osl/thread.hxx>
#include <osl/conditn.hxx>
#include <salinst.hxx>
#include <salwtype.hxx>
#include <saltimer.hxx>
#include <salusereventlist.hxx>
#include <unx/geninst.h>
#include <unx/genprn.h>
#include <list>
#include <condition_variable>
#include <sys/time.h>
#include <time.h>
#define VIRTUAL_DESKTOP_WIDTH 1024
#define VIRTUAL_DESKTOP_HEIGHT 768
diff --git a/vcl/inc/headless/svpprn.hxx b/vcl/inc/headless/svpprn.hxx
index a7572af..8971441 100644
--- a/vcl/inc/headless/svpprn.hxx
+++ b/vcl/inc/headless/svpprn.hxx
@@ -20,13 +20,8 @@
#ifndef INCLUDED_VCL_INC_HEADLESS_SVPPRN_HXX
#define INCLUDED_VCL_INC_HEADLESS_SVPPRN_HXX
#include <vcl/jobdata.hxx>
#include <unx/printergfx.hxx>
#include <unx/printerjob.hxx>
#include <unx/genprn.h>
#include <vclpluginapi.h>
class SvpSalInfoPrinter : public PspSalInfoPrinter
{
public:
diff --git a/vcl/inc/image.h b/vcl/inc/image.h
index c5acc06..455ea20 100644
--- a/vcl/inc/image.h
+++ b/vcl/inc/image.h
@@ -22,9 +22,6 @@
#include <vcl/bitmapex.hxx>
#include <unordered_map>
#include <vector>
class ImplImage
{
private:
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx
index 1405d8d..7f4301d 100644
--- a/vcl/inc/impfont.hxx
+++ b/vcl/inc/impfont.hxx
@@ -22,10 +22,12 @@
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
#include <tools/fontenum.hxx>
#include <tools/gen.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <vcl/vclenum.hxx>
#include <vcl/fntstyle.hxx>
#include "fontinstance.hxx"
#include "fontselect.hxx"
/* The following class is extraordinarily similar to FontAttributes. */
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx
index ce6ad86..1b0a273d 100644
--- a/vcl/inc/impgraph.hxx
+++ b/vcl/inc/impgraph.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_VCL_INC_IMPGRAPH_HXX
#include <vcl/GraphicExternalLink.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.hxx>
#include "graphic/Manager.hxx"
diff --git a/vcl/inc/implimagetree.hxx b/vcl/inc/implimagetree.hxx
index 4c23f3a..40dde5a 100644
--- a/vcl/inc/implimagetree.hxx
+++ b/vcl/inc/implimagetree.hxx
@@ -30,7 +30,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <rtl/ustring.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/dllapi.h>
#include <i18nlangtag/languagetag.hxx>
#include <vcl/ImageTree.hxx>
diff --git a/vcl/inc/opengl/LineRenderUtils.hxx b/vcl/inc/opengl/LineRenderUtils.hxx
index 4ffeae2..aa8d8e6 100644
--- a/vcl/inc/opengl/LineRenderUtils.hxx
+++ b/vcl/inc/opengl/LineRenderUtils.hxx
@@ -11,7 +11,6 @@
#ifndef INCLUDED_VCL_INC_OPENGL_LINERENDERUTILS_H
#define INCLUDED_VCL_INC_OPENGL_LINERENDERUTILS_H
#include <opengl/VertexUtils.hxx>
#include <opengl/RenderList.hxx>
namespace vcl
diff --git a/vcl/inc/opengl/RenderList.hxx b/vcl/inc/opengl/RenderList.hxx
index cd8787c..bb46206 100644
--- a/vcl/inc/opengl/RenderList.hxx
+++ b/vcl/inc/opengl/RenderList.hxx
@@ -15,9 +15,9 @@
#include <glm/glm.hpp>
#include <vcl/opengl/OpenGLHelper.hxx>
#include <vcl/salgtype.hxx>
#include <basegfx/range/b2drange.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <opengl/texture.hxx>
diff --git a/vcl/inc/opengl/VertexUtils.hxx b/vcl/inc/opengl/VertexUtils.hxx
index 4d4fd12..910b872 100644
--- a/vcl/inc/opengl/VertexUtils.hxx
+++ b/vcl/inc/opengl/VertexUtils.hxx
@@ -14,7 +14,7 @@
#include <basegfx/numeric/ftools.hxx>
#include <epoxy/gl.h>
#include <glm/gtx/norm.hpp>
#include <vcl/salgtype.hxx>
#include <tools/color.hxx>
#include <vector>
namespace vcl
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx
index bc4dc90..ad00ff4 100644
--- a/vcl/inc/opengl/salbmp.hxx
+++ b/vcl/inc/opengl/salbmp.hxx
@@ -22,12 +22,10 @@
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/salbtype.hxx>
#include <opengl/texture.hxx>
#include <salbmp.hxx>
#include <deque>
#include <memory>
struct BitmapBuffer;
diff --git a/vcl/inc/opengl/watchdog.hxx b/vcl/inc/opengl/watchdog.hxx
index dc7a16c..a675894 100644
--- a/vcl/inc/opengl/watchdog.hxx
+++ b/vcl/inc/opengl/watchdog.hxx
@@ -11,10 +11,9 @@
#define INCLUDED_VCL_INC_OPENGL_WATCHDOG_H
#include <sal/config.h>
#include <sal/types.h>
#include <rtl/ref.hxx>
#include <salhelper/thread.hxx>
#include <atomic>
#include <vector>
struct WatchdogTimingsValues
{
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index 9c888ae..b5be879 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -26,7 +26,6 @@
#include "regionband.hxx"
#include "salgeom.hxx"
#include "salgdiimpl.hxx"
#include "opengl/framebuffer.hxx"
#include "opengl/program.hxx"
#include "opengl/texture.hxx"
#include "opengl/RenderList.hxx"
diff --git a/vcl/inc/outdata.hxx b/vcl/inc/outdata.hxx
index e6aa491..9764a6c 100644
--- a/vcl/inc/outdata.hxx
+++ b/vcl/inc/outdata.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_INC_OUTDATA_HXX
#include <tools/color.hxx>
#include <vcl/salgtype.hxx>
inline bool ImplIsColorTransparent( Color aColor )
{
diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx
index 0fbfcb6..d034bbd 100644
--- a/vcl/inc/printdlg.hxx
+++ b/vcl/inc/printdlg.hxx
@@ -20,19 +20,15 @@
#ifndef VCL_INC_NEWPRINTDLG_HXX
#define VCL_INC_NEWPRINTDLG_HXX
#include <vcl/dllapi.h>
#include <vcl/print.hxx>
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <vcl/prgsbar.hxx>
#include <vcl/field.hxx>
#include <vcl/layout.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/virdev.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/weld.hxx>
namespace vcl {
class PrintDialog;
diff --git a/vcl/inc/printerinfomanager.hxx b/vcl/inc/printerinfomanager.hxx
index 825e1c1..3ac76a9 100644
--- a/vcl/inc/printerinfomanager.hxx
+++ b/vcl/inc/printerinfomanager.hxx
@@ -28,8 +28,7 @@
#include <vcl/dllapi.h>
#include <vcl/jobdata.hxx>
#include <vcl/prntypes.hxx>
#include <osl/file.hxx>
#include "unx/helper.hxx"
#include <osl/time.h>
#include <cstdio>
diff --git a/vcl/inc/qt5/Qt5SvpSurface.hxx b/vcl/inc/qt5/Qt5SvpSurface.hxx
index 196e2bb..f319aa5 100644
--- a/vcl/inc/qt5/Qt5SvpSurface.hxx
+++ b/vcl/inc/qt5/Qt5SvpSurface.hxx
@@ -11,8 +11,6 @@
#include <sal/config.h>
#include <sal/types.h>
#include <vcl/cairo.hxx>
class Qt5SvpGraphics;
diff --git a/vcl/inc/qt5/Qt5System.hxx b/vcl/inc/qt5/Qt5System.hxx
index 0d51bb2..aac0248 100644
--- a/vcl/inc/qt5/Qt5System.hxx
+++ b/vcl/inc/qt5/Qt5System.hxx
@@ -9,7 +9,6 @@
#pragma once
#include <vcl/sysdata.hxx>
#include <unx/gensys.h>
class Qt5System : public SalGenericSystem
diff --git a/vcl/inc/salbmp.hxx b/vcl/inc/salbmp.hxx
index 5b020f6..bd2f061 100644
--- a/vcl/inc/salbmp.hxx
+++ b/vcl/inc/salbmp.hxx
@@ -23,8 +23,8 @@
#include <tools/gen.hxx>
#include <tools/solar.h>
#include <vcl/checksum.hxx>
#include <vcl/salbtype.hxx>
#include <vcl/BitmapAccessMode.hxx>
#include <vcl/BitmapBuffer.hxx>
#include <com/sun/star/rendering/XBitmapCanvas.hpp>
struct BitmapBuffer;
diff --git a/vcl/inc/saldatabasic.hxx b/vcl/inc/saldatabasic.hxx
index 48af524..8591171 100644
--- a/vcl/inc/saldatabasic.hxx
+++ b/vcl/inc/saldatabasic.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_INC_SALDATABASIC_HXX
#define INCLUDED_VCL_INC_SALDATABASIC_HXX
#include <osl/module.h>
#include <vcl/dllapi.h>
#include "svdata.hxx"
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index d7b45f5..a8c2d87 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_INC_SALGDI_HXX
#define INCLUDED_VCL_INC_SALGDI_HXX
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
#include "impfontmetricdata.hxx"
@@ -32,7 +31,6 @@
#include <config_cairo_canvas.h>
#include <map>
#include <set>
#include <vector>
class PhysicalFontCollection;
diff --git a/vcl/inc/salgdiimpl.hxx b/vcl/inc/salgdiimpl.hxx
index aafeded..d58750f 100644
--- a/vcl/inc/salgdiimpl.hxx
+++ b/vcl/inc/salgdiimpl.hxx
@@ -22,15 +22,11 @@
#include <vcl/dllapi.h>
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
#include <tools/poly.hxx>
#include <tools/solar.h>
#include <vcl/salgtype.hxx>
#include <vcl/region.hxx>
#include <vcl/salnativewidgets.hxx>
#include <com/sun/star/drawing/LineCap.hpp>
diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx
index 4acb031..db1ae60 100644
--- a/vcl/inc/salinst.hxx
+++ b/vcl/inc/salinst.hxx
@@ -22,10 +22,8 @@
#include <sal/types.h>
#include <rtl/ref.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/salgtype.hxx>
#include <osl/thread.hxx>
#include <vcl/vclenum.hxx>
#include "backend/BackendCapabilities.hxx"
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index 535838a..0630076 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_INC_SALLAYOUT_HXX
#include <iostream>
#include <list>
#include <memory>
#include <vector>
diff --git a/vcl/inc/salptype.hxx b/vcl/inc/salptype.hxx
index dce4e40..9d09c86 100644
--- a/vcl/inc/salptype.hxx
+++ b/vcl/inc/salptype.hxx
@@ -23,7 +23,6 @@
#include <sal/config.h>
#include <o3tl/typed_flags_set.hxx>
#include <sal/types.h>
enum class JobSetFlags : sal_uInt16 {
ORIENTATION = 1,
diff --git a/vcl/inc/saltimer.hxx b/vcl/inc/saltimer.hxx
index 8c849a8..69545ac9 100644
--- a/vcl/inc/saltimer.hxx
+++ b/vcl/inc/saltimer.hxx
@@ -23,7 +23,6 @@
#include <sal/config.h>
#include <vcl/dllapi.h>
#include "salwtype.hxx"
#include <iostream>
/*
* note: there will be only a single instance of SalTimer
diff --git a/vcl/inc/salusereventlist.hxx b/vcl/inc/salusereventlist.hxx
index 1222b87..f2856c8 100644
--- a/vcl/inc/salusereventlist.hxx
+++ b/vcl/inc/salusereventlist.hxx
@@ -25,8 +25,6 @@
#include <osl/mutex.hxx>
#include <osl/thread.hxx>
#include <assert.h>
#include <list>
#include <unordered_set>
diff --git a/vcl/inc/scrptrun.h b/vcl/inc/scrptrun.h
index 46a5c08..097f630 100644
--- a/vcl/inc/scrptrun.h
+++ b/vcl/inc/scrptrun.h
@@ -39,8 +39,6 @@
#include <sal/config.h>
#include <sal/types.h>
#include <unicode/utypes.h>
#include <unicode/uobject.h>
#include <unicode/uscript.h>
#include <vector>
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 52207bb..fbf570b 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -40,11 +40,6 @@
#ifndef INCLUDED_VCL_INC_SFT_HXX
#define INCLUDED_VCL_INC_SFT_HXX
#ifdef UNX
#include <sys/types.h>
#include <unistd.h>
#endif
#include <vcl/dllapi.h>
#include <vcl/fontcapabilities.hxx>
#include <i18nlangtag/lang.h>
diff --git a/vcl/inc/svmconverter.hxx b/vcl/inc/svmconverter.hxx
index 1ab17424..7240ef5 100644
--- a/vcl/inc/svmconverter.hxx
+++ b/vcl/inc/svmconverter.hxx
@@ -21,11 +21,8 @@
#define INCLUDED_VCL_INC_SVMCONVERTER_HXX
#include <vcl/dllapi.h>
#include <vcl/metaact.hxx>
#include <vcl/gdimtf.hxx>
#include <stack>
#define GDI_PIXEL_ACTION 1
#define GDI_POINT_ACTION 2
#define GDI_LINE_ACTION 3
diff --git a/vcl/inc/test/outputdevice.hxx b/vcl/inc/test/outputdevice.hxx
index 54dccb3..966cd2b 100644
--- a/vcl/inc/test/outputdevice.hxx
+++ b/vcl/inc/test/outputdevice.hxx
@@ -12,8 +12,6 @@
#define INCLUDED_VCL_OUTDEVTESTS_HXX
#include <vcl/virdev.hxx>
#include <vcl/bitmapaccess.hxx>
#include <vcl/bitmapex.hxx>
namespace vcl {
namespace test {
diff --git a/vcl/inc/unx/XIM.h b/vcl/inc/unx/XIM.h
index 7c2a224d..d2fcd9c0e 100644
--- a/vcl/inc/unx/XIM.h
+++ b/vcl/inc/unx/XIM.h
@@ -20,7 +20,6 @@
#define INCLUDED_VCL_INC_UNX_XIM_H
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#ifndef XIMCallback1
typedef int (*XIMProc1)(XIC, XPointer, XPointer);
diff --git a/vcl/inc/unx/cairotextrender.hxx b/vcl/inc/unx/cairotextrender.hxx
index ca9cfcd..2881785 100644
--- a/vcl/inc/unx/cairotextrender.hxx
+++ b/vcl/inc/unx/cairotextrender.hxx
@@ -20,12 +20,8 @@
#ifndef INCLUDED_VCL_INC_UNX_CAIROTEXTRENDER_HXX
#define INCLUDED_VCL_INC_UNX_CAIROTEXTRENDER_HXX
#include <vcl/region.hxx>
#include <textrender.hxx>
#include <deque>
class FreetypeFont;
class GlyphCache;
typedef struct _cairo cairo_t;
diff --git a/vcl/inc/unx/cupsmgr.hxx b/vcl/inc/unx/cupsmgr.hxx
index 2283880..9fd1539 100644
--- a/vcl/inc/unx/cupsmgr.hxx
+++ b/vcl/inc/unx/cupsmgr.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_INC_UNX_CUPSMGR_HXX
#include <printerinfomanager.hxx>
#include <osl/module.h>
#include <osl/thread.h>
#include <osl/mutex.hxx>
diff --git a/vcl/inc/unx/fc_fontoptions.hxx b/vcl/inc/unx/fc_fontoptions.hxx
index c5ea38c..a3e2619 100644
--- a/vcl/inc/unx/fc_fontoptions.hxx
+++ b/vcl/inc/unx/fc_fontoptions.hxx
@@ -20,11 +20,7 @@
#ifndef INCLUDED_VCL_INC_UNX_FC_FONTOPTIONS_HXX
#define INCLUDED_VCL_INC_UNX_FC_FONTOPTIONS_HXX
#include <rtl/ustring.hxx>
#include <tools/gen.hxx>
#include <vcl/dllapi.h>
#include <vcl/vclenum.hxx>
#include <vcl/fntstyle.hxx>
#include <rtl/string.hxx>
typedef struct _FcPattern FcPattern;
class FontConfigFontOptions
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
index 0ce8ff437..88187ef 100644
--- a/vcl/inc/unx/fontmanager.hxx
+++ b/vcl/inc/unx/fontmanager.hxx
@@ -20,23 +20,19 @@
#ifndef INCLUDED_VCL_INC_FONTMANAGER_HXX
#define INCLUDED_VCL_INC_FONTMANAGER_HXX
#include <tools/fontenum.hxx>
#include <vcl/dllapi.h>
#include <unx/helper.hxx>
#include <vcl/glyphitem.hxx>
#include <vcl/timer.hxx>
#include <vcl/vclenum.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <sallayout.hxx>
#include <unx/fc_fontoptions.hxx>
#include <list>
#include <map>
#include <set>
#include <memory>
#include <vector>
#include <unordered_map>
#include <config_gio.h>
/*
* some words on metrics: every length returned by PrintFontManager and
* friends are PostScript afm style, that is they are 1/1000 font height
diff --git a/vcl/inc/unx/gendisp.hxx b/vcl/inc/unx/gendisp.hxx
index 2d5bc12..a6188e2 100644
--- a/vcl/inc/unx/gendisp.hxx
+++ b/vcl/inc/unx/gendisp.hxx
@@ -20,13 +20,8 @@
#ifndef INCLUDED_VCL_INC_GENERIC_GENDISP_HXX
#define INCLUDED_VCL_INC_GENERIC_GENDISP_HXX
#include <sal/types.h>
#include <osl/mutex.h>
#include <osl/conditn.hxx>
#include <salwtype.hxx>
#include <vcl/dllapi.h>
#include <list>
#include <vector>
#include <salusereventlist.hxx>
class SalFrame;
diff --git a/vcl/inc/unx/geninst.h b/vcl/inc/unx/geninst.h
index ba79548..95992ec 100644
--- a/vcl/inc/unx/geninst.h
+++ b/vcl/inc/unx/geninst.h
@@ -22,9 +22,6 @@
#include <memory>
#include <comphelper/solarmutex.hxx>
#include <tools/solar.h>
#include <osl/thread.hxx>
#include <vclpluginapi.h>
#include <salinst.hxx>
#include <saldatabasic.hxx>
#include <unx/genprn.h>
diff --git a/vcl/inc/unx/genprn.h b/vcl/inc/unx/genprn.h
index a8ad4fb..9f382e1 100644
--- a/vcl/inc/unx/genprn.h
+++ b/vcl/inc/unx/genprn.h
@@ -24,7 +24,6 @@
#include <unx/printergfx.hxx>
#include <unx/printerjob.hxx>
#include <salprn.hxx>
#include <vclpluginapi.h>
class GenPspGraphics;
class VCL_DLLPUBLIC PspSalInfoPrinter : public SalInfoPrinter
diff --git a/vcl/inc/unx/genpspgraphics.h b/vcl/inc/unx/genpspgraphics.h
index 393f7fc..1f938d2 100644
--- a/vcl/inc/unx/genpspgraphics.h
+++ b/vcl/inc/unx/genpspgraphics.h
@@ -26,7 +26,6 @@
#include <unx/fontmanager.hxx>
#include <salgdi.hxx>
#include <sallayout.hxx>
#include <vclpluginapi.h>
class PhysicalFontFace;
class PhysicalFontCollection;
diff --git a/vcl/inc/unx/gensys.h b/vcl/inc/unx/gensys.h
index 5d42e798..6da0b17 100644
--- a/vcl/inc/unx/gensys.h
+++ b/vcl/inc/unx/gensys.h
@@ -21,8 +21,6 @@
#define INCLUDED_VCL_INC_GENERIC_GENSYS_H
#include <salsys.hxx>
#include <salframe.hxx>
#include <vclpluginapi.h>
#include <vector>
/*
diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx
index bc4d038..a566f62 100644
--- a/vcl/inc/unx/glyphcache.hxx
+++ b/vcl/inc/unx/glyphcache.hxx
@@ -21,21 +21,18 @@
#define INCLUDED_VCL_INC_GENERIC_GLYPHCACHE_HXX
#include <memory>
#include <ft2build.h>
#include <freetype/config/ftheader.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <tools/gen.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
#include <sallayout.hxx>
#include <fontattributes.hxx>
#include <fontselect.hxx>
#include <fontinstance.hxx>
#include <impfontmetricdata.hxx>
#include <hb-ot.h>
#include <unordered_map>
diff --git a/vcl/inc/unx/gtk/gloactiongroup.h b/vcl/inc/unx/gtk/gloactiongroup.h
index 97d9db8..4028f76 100644
--- a/vcl/inc/unx/gtk/gloactiongroup.h
+++ b/vcl/inc/unx/gtk/gloactiongroup.h
@@ -11,7 +11,8 @@
#ifndef INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
#define INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
#include <gio/gio.h>
#include <glib-object.h>
#include <glib.h>
G_BEGIN_DECLS
diff --git a/vcl/inc/unx/helper.hxx b/vcl/inc/unx/helper.hxx
index c02d957..ac018b3 100644
--- a/vcl/inc/unx/helper.hxx
+++ b/vcl/inc/unx/helper.hxx
@@ -22,9 +22,6 @@
#include <vector>
#include <vcl/dllapi.h>
#include <vcl/vclevent.hxx>
#include <rtl/ustring.hxx>
diff --git a/vcl/inc/unx/i18n_status.hxx b/vcl/inc/unx/i18n_status.hxx
index 3a98941..9a87959 100644
--- a/vcl/inc/unx/i18n_status.hxx
+++ b/vcl/inc/unx/i18n_status.hxx
@@ -24,8 +24,6 @@
#include <salimestatus.hxx>
#include <vcl/vclptr.hxx>
#include <vector>
class SalFrame;
class WorkWindow;
class ListBox;
diff --git a/vcl/inc/unx/pixmap.hxx b/vcl/inc/unx/pixmap.hxx
index 81144a2..bc7f346 100644
--- a/vcl/inc/unx/pixmap.hxx
+++ b/vcl/inc/unx/pixmap.hxx
@@ -10,10 +10,8 @@
#ifndef INCLUDED_VCL_INC_UNX_PIXMAP_HXX
#define INCLUDED_VCL_INC_UNX_PIXMAP_HXX
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/X.h>
#include <tools/gen.hxx>
#include <unx/saltype.h>
#include <vclpluginapi.h>
diff --git a/vcl/inc/unx/printergfx.hxx b/vcl/inc/unx/printergfx.hxx
index e6e32e4..a8f0dc0 100644
--- a/vcl/inc/unx/printergfx.hxx
+++ b/vcl/inc/unx/printergfx.hxx
@@ -20,11 +20,12 @@
#ifndef INCLUDED_VCL_INC_GENERIC_PRINTERGFX_HXX
#define INCLUDED_VCL_INC_GENERIC_PRINTERGFX_HXX
#include <unx/helper.hxx>
#include <sallayout.hxx>
#include <osl/file.hxx>
#include <tools/gen.hxx>
#include <vclpluginapi.h>
#include <vcl/dllapi.h>
#include <vcl/glyphitem.hxx>
#include <impglyphitem.hxx>
#include <list>
#include <vector>
diff --git a/vcl/inc/unx/printerjob.hxx b/vcl/inc/unx/printerjob.hxx
index 7052a14..9fe4a3d 100644
--- a/vcl/inc/unx/printerjob.hxx
+++ b/vcl/inc/unx/printerjob.hxx
@@ -22,7 +22,6 @@
#include <vcl/jobdata.hxx>
#include <osl/file.hxx>
#include <rtl/string.hxx>
#include <vector>
diff --git a/vcl/inc/unx/salbmp.h b/vcl/inc/unx/salbmp.h
index 8328316..f889d44 100644
--- a/vcl/inc/unx/salbmp.h
+++ b/vcl/inc/unx/salbmp.h
@@ -21,13 +21,11 @@
#define INCLUDED_VCL_INC_UNX_SALBMP_H
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <vcl/salgtype.hxx>
#include <unx/saldisp.hxx>
#include <salbmp.hxx>
#include <vclpluginapi.h>
#include <list>
struct BitmapBuffer;
class BitmapPalette;
diff --git a/vcl/inc/unx/saldata.hxx b/vcl/inc/unx/saldata.hxx
index eed9619..3201c6e 100644
--- a/vcl/inc/unx/saldata.hxx
+++ b/vcl/inc/unx/saldata.hxx
@@ -21,29 +21,15 @@
#define INCLUDED_VCL_INC_UNX_SALDATA_HXX
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <unx/saldisp.hxx>
#include <unx/salunx.h>
#include <vcl/salgtype.hxx>
#include <salframe.hxx>
#include <unx/salinst.h>
#include <unx/gendata.hxx>
#include <osl/module.h>
#include <vclpluginapi.h>
class SalXLib;
class SalDisplay;
class SalPrinter;
#if defined LINUX || defined NETBSD || defined AIX || \
defined FREEBSD || defined OPENBSD || defined DRAGONFLY || \
defined ANDROID
#include <pthread.h>
#else
typedef unsigned int pthread_t;
#endif
class VCLPLUG_GEN_PUBLIC X11SalData : public GenericUnixSalData
{
struct XErrorStackEntry
diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx
index eda1ed8..7d72125 100644
--- a/vcl/inc/unx/saldisp.hxx
+++ b/vcl/inc/unx/saldisp.hxx
@@ -27,17 +27,14 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/Xrender.h>
#include <X11/extensions/render.h>
#include <epoxy/glx.h>
#include <rtl/string.hxx>
#include <unx/salunx.h>
#include <unx/saltype.h>
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/salgtype.hxx>
#include <vcl/ptrstyle.hxx>
#include <sal/types.h>
#include <osl/mutex.h>
#include <cassert>
#include <list>
#include <unordered_map>
diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h
index 0452efb..7a67f92 100644
--- a/vcl/inc/unx/salframe.h
+++ b/vcl/inc/unx/salframe.h
@@ -21,9 +21,7 @@
#define INCLUDED_VCL_INC_UNX_SALFRAME_H
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <unx/salunx.h>
#include <unx/saltype.h>
#include <unx/saldisp.hxx>
#include <unx/screensaverinhibitor.hxx>
diff --git a/vcl/inc/unx/salinst.h b/vcl/inc/unx/salinst.h
index 697a76e..9ef55fb 100644
--- a/vcl/inc/unx/salinst.h
+++ b/vcl/inc/unx/salinst.h
@@ -20,13 +20,11 @@
#ifndef INCLUDED_VCL_INC_UNX_SALINST_H
#define INCLUDED_VCL_INC_UNX_SALINST_H
#include <osl/thread.hxx>
#include <vclpluginapi.h>
#include <salinst.hxx>
#include <unx/geninst.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/X.h>
namespace com { namespace sun { namespace star { namespace datatransfer {
namespace clipboard { class XClipboard; }
diff --git a/vcl/inc/unx/salunx.h b/vcl/inc/unx/salunx.h
index 5dfae767..b70f457 100644
--- a/vcl/inc/unx/salunx.h
+++ b/vcl/inc/unx/salunx.h
@@ -20,8 +20,6 @@
#ifndef INCLUDED_VCL_INC_UNX_SALUNX_H
#define INCLUDED_VCL_INC_UNX_SALUNX_H
#include <unx/salunxtime.h>
inline long Divide( long nDividend, long nDivisor )
{ return (nDividend + nDivisor/2) / nDivisor; }
diff --git a/vcl/inc/unx/screensaverinhibitor.hxx b/vcl/inc/unx/screensaverinhibitor.hxx
index a1042da..fc85b18 100644
--- a/vcl/inc/unx/screensaverinhibitor.hxx
+++ b/vcl/inc/unx/screensaverinhibitor.hxx
@@ -11,10 +11,7 @@
#define INCLUDED_VCL_INC_UNX_SCREENSAVERINHIBITOR_HXX
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#if !defined(__sun) && !defined(AIX)
#include <X11/extensions/dpms.h>
#endif
#include <X11/Xmd.h>
#include <rtl/ustring.hxx>
#include <vcl/dllapi.h>
diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx
index 6ebc983..7df7ca2 100644
--- a/vcl/inc/unx/wmadaptor.hxx
+++ b/vcl/inc/unx/wmadaptor.hxx
@@ -24,7 +24,6 @@
#include <tools/gen.hxx>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <vclpluginapi.h>
#include "salframe.h"
diff --git a/vcl/inc/unx/x11/x11sys.hxx b/vcl/inc/unx/x11/x11sys.hxx
index 1dc4a76..085a36d 100644
--- a/vcl/inc/unx/x11/x11sys.hxx
+++ b/vcl/inc/unx/x11/x11sys.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_VCL_INC_UNX_X11_X11SYS_HXX
#include <unx/gensys.h>
#include <osl/thread.hxx>
#include <vclpluginapi.h>
class VCLPLUG_GEN_PUBLIC X11SalSystem : public SalGenericSystem
diff --git a/vcl/inc/unx/x11/xrender_peer.hxx b/vcl/inc/unx/x11/xrender_peer.hxx
index 05312bf..bbf51c9 100644
--- a/vcl/inc/unx/x11/xrender_peer.hxx
+++ b/vcl/inc/unx/x11/xrender_peer.hxx
@@ -25,8 +25,7 @@
struct _XTrap; // on some older systems this is not declared within Xrender.h
#include <X11/extensions/Xrender.h>
#include <vcl/salgtype.hxx>
#include <osl/module.h>
#include <tools/color.hxx>
class XRenderPeer
diff --git a/vcl/inc/widgetdraw/WidgetDefinition.hxx b/vcl/inc/widgetdraw/WidgetDefinition.hxx
index c8b4fca..40a688f 100644
--- a/vcl/inc/widgetdraw/WidgetDefinition.hxx
+++ b/vcl/inc/widgetdraw/WidgetDefinition.hxx
@@ -18,7 +18,6 @@
#include <unordered_map>
#include <vector>
#include <cstddef>
#include <functional>
#include <boost/functional/hash.hpp>
#include <vcl/salnativewidgets.hxx>
diff --git a/vcl/opengl/LineRenderUtils.cxx b/vcl/opengl/LineRenderUtils.cxx
index e62d884..61d0dc3 100644
--- a/vcl/opengl/LineRenderUtils.cxx
+++ b/vcl/opengl/LineRenderUtils.cxx
@@ -9,6 +9,7 @@
*/
#include <opengl/LineRenderUtils.hxx>
#include <opengl/VertexUtils.hxx>
namespace vcl
{
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 9d42d03..1914a4f 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -18,6 +18,7 @@
*/
#include <openglgdiimpl.hxx>
#include <opengl/framebuffer.hxx>
#include <vcl/gradient.hxx>
#include <vcl/idle.hxx>
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 2fbd40d..b0d1188 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -10,6 +10,7 @@
#include <memory>
#include <thread>
#include <opengl/win/gdiimpl.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
#include <sal/log.hxx>
#include <comphelper/windowserrorstring.hxx>
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index d087a15..6258d34 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 bcbbe6d..0d5e644 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 90c5193..0ecf733 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 393fab8..9c91681 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 71c7c5c..7c01953 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 c85bbc5..7a03f85 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 65fb116..31cc27a 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 fb30927..5fe1464 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 c1365e8..52a4c7e8 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>
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index decdaa5..e0ee680 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -43,6 +43,7 @@
#include <unx/saldisp.hxx>
#include <unx/saldata.hxx>
#include <unx/salunxtime.h>
#include <unx/sm.hxx>
#include <unx/i18n_im.hxx>
#include <unx/i18n_xkb.hxx>
@@ -54,6 +55,7 @@
#include <salinst.hxx>
#include <saltimer.hxx>
#include <osl/diagnose.h>
#include <osl/signal.h>
#include <osl/thread.h>
#include <rtl/strbuf.hxx>
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index d0b04b1..d2f94a7 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -64,6 +64,7 @@
#include <unx/salframe.h>
#include <vcl/keycodes.hxx>
#include <unx/salbmp.h>
#include <osl/diagnose.h>
#include <osl/mutex.h>
#include <unx/salobj.h>
#include <unx/sm.hxx>
diff --git a/vcl/unx/generic/app/salinst.cxx b/vcl/unx/generic/app/salinst.cxx
index e16f13a..d56f6f7 100644
--- a/vcl/unx/generic/app/salinst.cxx
+++ b/vcl/unx/generic/app/salinst.cxx
@@ -26,6 +26,7 @@
#include <unx/salunx.h>
#include <unx/saldata.hxx>
#include <unx/saldisp.hxx>
#include <unx/salinst.h>
#include <unx/geninst.h>
#include <unx/genpspgraphics.h>
#include <unx/salframe.h>
diff --git a/vcl/unx/generic/app/saltimer.cxx b/vcl/unx/generic/app/saltimer.cxx
index 639c37a..df5e32a 100644
--- a/vcl/unx/generic/app/saltimer.cxx
+++ b/vcl/unx/generic/app/saltimer.cxx
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <unx/salunx.h>
#include <unx/salunxtime.h>
#include <unx/saldisp.hxx>
#include <unx/saltimer.h>
#include <unx/salinst.h>
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index e13eb0a..b518493 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <unx/fontmanager.hxx>
#include <unx/helper.hxx>
#include <impfont.hxx>
#include <comphelper/sequence.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
index 7c6f406..fd0cdc6 100644
--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
+++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
@@ -31,6 +31,7 @@
#include <svdata.hxx>
#include <unx/geninst.h>
#include <unx/gendata.hxx>
#include <unx/helper.hxx>
#include <vcl/strhelper.hxx>
#include <vcl/ppdparser.hxx>
#include <vcl/embeddedfontshelper.hxx>
diff --git a/vcl/unx/generic/printer/cpdmgr.cxx b/vcl/unx/generic/printer/cpdmgr.cxx
index fe3b449..4861daa 100644
--- a/vcl/unx/generic/printer/cpdmgr.cxx
+++ b/vcl/unx/generic/printer/cpdmgr.cxx
@@ -22,6 +22,7 @@
#include <unx/cpdmgr.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/thread.h>
#include <rtl/ustrbuf.hxx>
diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx
index 503ca6c..34da816 100644
--- a/vcl/unx/generic/printer/cupsmgr.cxx
+++ b/vcl/unx/generic/printer/cupsmgr.cxx
@@ -28,6 +28,7 @@
#include <osl/thread.h>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/conditn.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx
index f70141c..21cad665 100644
--- a/vcl/unx/generic/printer/printerinfomanager.cxx
+++ b/vcl/unx/generic/printer/printerinfomanager.cxx
@@ -23,6 +23,7 @@
#include <unx/cpdmgr.hxx>
#include <unx/cupsmgr.hxx>
#include <unx/helper.hxx>
#include <vcl/strhelper.hxx>
#include <saldatabasic.hxx>
@@ -36,6 +37,7 @@
#include <sal/macros.h>
#include <sal/log.hxx>
#include <osl/file.hxx>
#include <osl/thread.hxx>
#include <osl/mutex.hxx>
#include <osl/process.h>
diff --git a/vcl/unx/generic/window/screensaverinhibitor.cxx b/vcl/unx/generic/window/screensaverinhibitor.cxx
index 4b9253d..d597cdb 100644
--- a/vcl/unx/generic/window/screensaverinhibitor.cxx
+++ b/vcl/unx/generic/window/screensaverinhibitor.cxx
@@ -14,6 +14,10 @@
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#if !defined(__sun) && !defined(AIX)
#include <X11/extensions/dpms.h>
#endif
#include <config_gio.h>
#if ENABLE_GIO
diff --git a/vcl/unx/gtk/gtksys.cxx b/vcl/unx/gtk/gtksys.cxx
index bad2285..3734595 100644
--- a/vcl/unx/gtk/gtksys.cxx
+++ b/vcl/unx/gtk/gtksys.cxx
@@ -22,6 +22,7 @@
#include <gtk/gtk.h>
#include <unx/gtk/gtkinst.hxx>
#include <unx/gtk/gtksys.hxx>
#include <osl/module.h>
GtkSalSystem *GtkSalSystem::GetSingleton()
{
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 0de96d2..17929b2 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -9,6 +9,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
#include <osl/module.h>
#include <config_cairo_canvas.h>