summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-11-19 01:06:09 +0100
committerMiklos Vajna <vmiklos@collabora.com>2018-11-27 10:35:30 +0100
commit8067be0721462079c1d91bff9865ba07bfc56b5a (patch)
treebd292ca9a03dd4072bafb4e19c6d5136f9b2dea5 /vcl
parent876463415a47113433a5bf92887e0623c6626649 (diff)
tdf#42949 Fix IWYU warnings in include/vcl/[f-h]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ice2eb8c5994bf2ccb88972332ca4a1d3ed41752a Reviewed-on: https://gerrit.libreoffice.org/63826 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/graphicfilter/filters-test.cxx1
-rw-r--r--vcl/qa/cppunit/jpeg/JpegReaderTest.cxx1
-rw-r--r--vcl/source/app/svapp.cxx1
-rw-r--r--vcl/source/filter/FilterConfigItem.cxx3
-rw-r--r--vcl/source/filter/GraphicNativeMetadata.cxx1
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx1
-rw-r--r--vcl/source/filter/graphicfilter2.cxx1
-rw-r--r--vcl/source/filter/igif/gifread.cxx1
-rw-r--r--vcl/source/filter/ixbm/xbmread.cxx1
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx1
-rw-r--r--vcl/source/filter/jpeg/Exif.cxx1
-rw-r--r--vcl/source/filter/jpeg/JpegReader.cxx2
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.cxx1
-rw-r--r--vcl/source/filter/wmf/emfwr.cxx1
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx2
-rw-r--r--vcl/source/filter/wmf/wmfwr.hxx2
-rw-r--r--vcl/source/font/FeatureParser.cxx1
-rw-r--r--vcl/source/gdi/cvtgrf.cxx1
-rw-r--r--vcl/source/gdi/gdimetafiletools.cxx1
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx1
-rw-r--r--vcl/source/graphic/GraphicObject.cxx1
-rw-r--r--vcl/source/graphic/UnoGraphic.cxx1
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx1
-rw-r--r--vcl/source/outdev/hatch.cxx1
-rw-r--r--vcl/source/outdev/text.cxx1
-rw-r--r--vcl/workben/fftester.cxx2
-rw-r--r--vcl/workben/icontest.cxx1
28 files changed, 34 insertions, 0 deletions
diff --git a/vcl/qa/cppunit/graphicfilter/filters-test.cxx b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
index a423a17081e8..cca60f0c6b4c 100644
--- a/vcl/qa/cppunit/graphicfilter/filters-test.cxx
+++ b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
@@ -16,6 +16,7 @@
#include <comphelper/fileformat.h>
#include <vcl/graphicfilter.hxx>
+#include <tools/stream.hxx>
using namespace ::com::sun::star;
diff --git a/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx b/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
index b61d10096da5..aa74eebf3ed3 100644
--- a/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
+++ b/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
@@ -13,6 +13,7 @@
#include <vcl/graphicfilter.hxx>
#include <vcl/bitmapaccess.hxx>
#include <bitmapwriteaccess.hxx>
+#include <tools/stream.hxx>
static OUString const gaDataUrl("/vcl/qa/cppunit/jpeg/data/");
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index eeba046c39ef..b42c1f158a9f 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -30,6 +30,7 @@
#include <tools/debug.hxx>
#include <tools/time.hxx>
+#include <tools/stream.hxx>
#include <i18nlangtag/mslangid.hxx>
diff --git a/vcl/source/filter/FilterConfigItem.cxx b/vcl/source/filter/FilterConfigItem.cxx
index 0eedb63b408d..aa86faceddcd 100644
--- a/vcl/source/filter/FilterConfigItem.cxx
+++ b/vcl/source/filter/FilterConfigItem.cxx
@@ -27,7 +27,10 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XChangesBatch.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
+#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/task/XStatusIndicator.hpp>
using namespace ::com::sun::star::lang ; // XMultiServiceFactory
using namespace ::com::sun::star::beans ; // PropertyValue
diff --git a/vcl/source/filter/GraphicNativeMetadata.cxx b/vcl/source/filter/GraphicNativeMetadata.cxx
index 3132eef43ada..e42669d3c4aa 100644
--- a/vcl/source/filter/GraphicNativeMetadata.cxx
+++ b/vcl/source/filter/GraphicNativeMetadata.cxx
@@ -20,6 +20,7 @@
#include <vcl/GraphicNativeMetadata.hxx>
#include <vcl/gfxlink.hxx>
+#include <tools/stream.hxx>
#include "jpeg/Exif.hxx"
#include <memory>
diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx
index db4a1078a70d..9d1941f8fae6 100644
--- a/vcl/source/filter/GraphicNativeTransform.cxx
+++ b/vcl/source/filter/GraphicNativeTransform.cxx
@@ -23,6 +23,7 @@
#include <vcl/graphicfilter.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <tools/stream.hxx>
#include "jpeg/Exif.hxx"
#include "jpeg/JpegTransform.hxx"
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index b3fce62c75f0..b79d4afa425c 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -20,6 +20,7 @@
#include <string.h>
#include <tools/stream.hxx>
#include <tools/fract.hxx>
+#include <tools/urlobj.hxx>
#include <vcl/outdev.hxx>
#include <vcl/graphicfilter.hxx>
#include <unotools/ucbstreamhelper.hxx>
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx
index 3d1b191c798f..22b916ca0198 100644
--- a/vcl/source/filter/igif/gifread.cxx
+++ b/vcl/source/filter/igif/gifread.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/log.hxx>
+#include <tools/stream.hxx>
#include "decode.hxx"
#include "gifread.hxx"
#include <memory>
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index 7e952968e393..844b325f5ede 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <tools/stream.hxx>
#include <rtl/character.hxx>
#include <bitmapwriteaccess.hxx>
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index c31d83a4a82f..dd1166a20caa 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -20,6 +20,7 @@
#include <vcl/bitmapaccess.hxx>
#include <bitmapwriteaccess.hxx>
#include <vcl/graph.hxx>
+#include <tools/stream.hxx>
#include "rgbtable.hxx"
#include "xpmread.hxx"
#include <cstring>
diff --git a/vcl/source/filter/jpeg/Exif.cxx b/vcl/source/filter/jpeg/Exif.cxx
index 725ebe1ae27e..ab2e83f20060 100644
--- a/vcl/source/filter/jpeg/Exif.cxx
+++ b/vcl/source/filter/jpeg/Exif.cxx
@@ -19,6 +19,7 @@
#include "Exif.hxx"
#include <memory>
+#include <tools/stream.hxx>
Exif::Exif() :
maOrientation(TOP_LEFT),
diff --git a/vcl/source/filter/jpeg/JpegReader.cxx b/vcl/source/filter/jpeg/JpegReader.cxx
index 1e21b012f0d9..ba71938dc1ad 100644
--- a/vcl/source/filter/jpeg/JpegReader.cxx
+++ b/vcl/source/filter/jpeg/JpegReader.cxx
@@ -27,7 +27,9 @@
#include <vcl/bitmapaccess.hxx>
#include <vcl/FilterConfigItem.hxx>
#include <vcl/graphicfilter.hxx>
+#include <vcl/outdev.hxx>
#include <tools/fract.hxx>
+#include <tools/stream.hxx>
#include <memory>
#define BUFFER_SIZE 4096
diff --git a/vcl/source/filter/jpeg/JpegWriter.cxx b/vcl/source/filter/jpeg/JpegWriter.cxx
index f246c3ea53b3..643b63247513 100644
--- a/vcl/source/filter/jpeg/JpegWriter.cxx
+++ b/vcl/source/filter/jpeg/JpegWriter.cxx
@@ -28,6 +28,7 @@
#include <vcl/bitmapaccess.hxx>
#include <vcl/FilterConfigItem.hxx>
#include <vcl/graphicfilter.hxx>
+#include <tools/stream.hxx>
#define BUFFER_SIZE 4096
diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx
index d03b6448a249..52d86c92b188 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -26,6 +26,7 @@
#include <rtl/strbuf.hxx>
#include <tools/helpers.hxx>
#include <tools/fract.hxx>
+#include <tools/stream.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <vcl/lineinfo.hxx>
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 1e93721f9992..f787401fba1b 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -32,9 +32,11 @@
#include <tools/helpers.hxx>
#include <tools/tenccvt.hxx>
#include <tools/fract.hxx>
+#include <tools/stream.hxx>
#include <osl/endian.h>
#include <vcl/dibtools.hxx>
#include <vcl/metric.hxx>
+#include <vcl/FilterConfigItem.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <memory>
diff --git a/vcl/source/filter/wmf/wmfwr.hxx b/vcl/source/filter/wmf/wmfwr.hxx
index e0aeba713ac4..acbc3e74beaf 100644
--- a/vcl/source/filter/wmf/wmfwr.hxx
+++ b/vcl/source/filter/wmf/wmfwr.hxx
@@ -25,6 +25,8 @@
#include <vcl/gdimtf.hxx>
#include <vcl/virdev.hxx>
#include <vcl/fltcall.hxx>
+#include <com/sun/star/task/XStatusIndicator.hpp>
+#include <tools/stream.hxx>
#define MAXOBJECTHANDLES 16
diff --git a/vcl/source/font/FeatureParser.cxx b/vcl/source/font/FeatureParser.cxx
index 7085b94f19ef..abfda4b0734d 100644
--- a/vcl/source/font/FeatureParser.cxx
+++ b/vcl/source/font/FeatureParser.cxx
@@ -9,6 +9,7 @@
*/
#include <vcl/font/FeatureParser.hxx>
+#include <vcl/font/Feature.hxx>
namespace vcl
{
diff --git a/vcl/source/gdi/cvtgrf.cxx b/vcl/source/gdi/cvtgrf.cxx
index 50204c1d5666..d7ee76ff1f89 100644
--- a/vcl/source/gdi/cvtgrf.cxx
+++ b/vcl/source/gdi/cvtgrf.cxx
@@ -19,6 +19,7 @@
#include <vcl/metaact.hxx>
#include <vcl/cvtgrf.hxx>
+#include <tools/stream.hxx>
#include <salinst.hxx>
#include <svdata.hxx>
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx
index 77689140c863..14a5492e36c3 100644
--- a/vcl/source/gdi/gdimetafiletools.cxx
+++ b/vcl/source/gdi/gdimetafiletools.cxx
@@ -27,6 +27,7 @@
#include <vcl/svapp.hxx>
#include <vcl/graphictools.hxx>
#include <osl/diagnose.h>
+#include <tools/stream.hxx>
// helpers
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 0624bee326ef..f41b743cbaaf 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -28,6 +28,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
+#include <tools/stream.hxx>
#include <set>
#include <memory>
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 7ba9a79b5376..80c130a2f9e1 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -41,6 +41,7 @@
#include <vcl/wall.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <comphelper/hash.hxx>
+#include <tools/stream.hxx>
#include <sallayout.hxx>
#include <outdata.hxx>
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx
index 66b4f6fd9b6f..cbfd8a84f4d5 100644
--- a/vcl/source/graphic/GraphicObject.cxx
+++ b/vcl/source/graphic/GraphicObject.cxx
@@ -38,6 +38,7 @@
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/graphic/XGraphic.hpp>
#include <memory>
diff --git a/vcl/source/graphic/UnoGraphic.cxx b/vcl/source/graphic/UnoGraphic.cxx
index 45225261f836..970a904519d8 100644
--- a/vcl/source/graphic/UnoGraphic.cxx
+++ b/vcl/source/graphic/UnoGraphic.cxx
@@ -19,6 +19,7 @@
#include <graphic/UnoGraphic.hxx>
+#include <tools/stream.hxx>
#include <vcl/svapp.hxx>
#include <com/sun/star/graphic/GraphicType.hpp>
#include <com/sun/star/graphic/XGraphicTransformer.hpp>
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index b2a70ed7064b..588ae70cabe0 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -16,6 +16,7 @@
#include <rtl/strbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
+#include <tools/stream.hxx>
#include <config_folders.h>
#include <vcl/salbtype.hxx>
#include <vcl/bitmapaccess.hxx>
diff --git a/vcl/source/outdev/hatch.cxx b/vcl/source/outdev/hatch.cxx
index d98773cd95bd..a0879f503b51 100644
--- a/vcl/source/outdev/hatch.cxx
+++ b/vcl/source/outdev/hatch.cxx
@@ -20,6 +20,7 @@
#include <cassert>
#include <tools/line.hxx>
+#include <tools/stream.hxx>
#include <vcl/hatch.hxx>
#include <vcl/metaact.hxx>
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 79035ab6d629..5c3cdf64fc53 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -27,6 +27,7 @@
#include <comphelper/processfactory.hxx>
#include <osl/file.h>
#include <sal/log.hxx>
+#include <tools/lineend.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/metaact.hxx>
#include <vcl/textrectinfo.hxx>
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index cbd736efe6ad..beedf86fe7f0 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -44,6 +44,8 @@
#include <vcl/fltcall.hxx>
#include <osl/file.hxx>
#include <osl/module.hxx>
+#include <tools/stream.hxx>
+#include <vcl/gdimtf.hxx>
#include "../source/filter/igif/gifread.hxx"
#include "../source/filter/ixbm/xbmread.hxx"
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx
index 5f6743a52966..4d0ef7dbb5e1 100644
--- a/vcl/workben/icontest.cxx
+++ b/vcl/workben/icontest.cxx
@@ -30,6 +30,7 @@
#include <cppuhelper/bootstrap.hxx>
#include <osl/file.hxx>
#include <sal/log.hxx>
+#include <tools/stream.hxx>
#include <vcl/builder.hxx>
#include <vcl/button.hxx>
#include <vcl/dialog.hxx>