summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-11-12 20:55:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-11-22 09:54:39 +0100
commit24d5f3065df5f05e1a8af7ae043db59fd7845ffa (patch)
tree2d3045f6e960276a7b1480ef9ed449cf831407a4 /vcl
parenteb5438aca1046e61c247ca770d0e50644c118f3a (diff)
tdf#42949 Fix IWYU warnings in include/vcl/[ab]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If18c80fc64e55d797953e24e40e5d5e62bd9c625 Reviewed-on: https://gerrit.libreoffice.org/63453 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 492ea7e08571e466e37f870b7642a79df55c2e92) Reviewed-on: https://gerrit.libreoffice.org/63768 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/impanmvw.hxx1
-rw-r--r--vcl/inc/opengl/salbmp.hxx4
-rw-r--r--vcl/opengl/salbmp.cxx1
-rw-r--r--vcl/osx/a11ywrapper.mm1
-rw-r--r--vcl/osx/saldata.cxx1
-rw-r--r--vcl/osx/salframe.cxx1
-rw-r--r--vcl/osx/salinst.cxx1
-rw-r--r--vcl/osx/salmenu.cxx1
-rw-r--r--vcl/osx/salnsmenu.mm1
-rw-r--r--vcl/osx/salprn.cxx1
-rw-r--r--vcl/quartz/salbmp.cxx1
-rw-r--r--vcl/source/app/svapp.cxx1
-rw-r--r--vcl/source/app/unohelp.cxx1
-rw-r--r--vcl/source/bitmap/BitmapInterpolateScaleFilter.cxx1
-rw-r--r--vcl/source/control/button.cxx1
-rw-r--r--vcl/source/control/field.cxx1
-rw-r--r--vcl/source/control/fmtfield.cxx1
-rw-r--r--vcl/source/control/imgctrl.cxx1
-rw-r--r--vcl/source/control/imp_listbox.cxx1
-rw-r--r--vcl/source/edit/textdata.cxx1
-rw-r--r--vcl/source/edit/texteng.cxx1
-rw-r--r--vcl/source/edit/vclmedit.cxx1
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx1
-rw-r--r--vcl/source/gdi/bitmap3.cxx1
-rw-r--r--vcl/source/gdi/bitmapex.cxx2
-rw-r--r--vcl/source/gdi/gdimetafiletools.cxx1
-rw-r--r--vcl/source/gdi/gdimtf.cxx1
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx1
-rw-r--r--vcl/source/gdi/pngread.cxx1
-rw-r--r--vcl/source/gdi/svmconverter.cxx1
-rw-r--r--vcl/source/outdev/bitmap.cxx1
-rw-r--r--vcl/source/outdev/clipping.cxx1
-rw-r--r--vcl/source/outdev/map.cxx1
-rw-r--r--vcl/source/outdev/nativecontrols.cxx1
-rw-r--r--vcl/source/window/accel.cxx1
-rw-r--r--vcl/source/window/mouse.cxx1
-rw-r--r--vcl/source/window/printdlg.cxx1
-rw-r--r--vcl/source/window/toolbox.cxx1
-rw-r--r--vcl/win/gdi/salnativewidgets-luna.cxx1
-rw-r--r--vcl/win/gdi/salprn.cxx1
-rw-r--r--vcl/workben/fftester.cxx1
41 files changed, 45 insertions, 0 deletions
diff --git a/vcl/inc/impanmvw.hxx b/vcl/inc/impanmvw.hxx
index 702443404ac2..b8164f60933d 100644
--- a/vcl/inc/impanmvw.hxx
+++ b/vcl/inc/impanmvw.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_VCL_SOURCE_GDI_IMPANMVW_HXX
#include <vcl/animate.hxx>
+#include <vcl/vclptr.hxx>
class Animation;
class OutputDevice;
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx
index 587d2823e0b7..c45532434f98 100644
--- a/vcl/inc/opengl/salbmp.hxx
+++ b/vcl/inc/opengl/salbmp.hxx
@@ -32,6 +32,10 @@
struct BitmapBuffer;
class BitmapPalette;
+namespace vcl
+{
+ class Kernel;
+}
class VCL_PLUGIN_PUBLIC OpenGLSalBitmap : public SalBitmap
{
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index a2cf2e25b388..ca8f118c8003 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <vcl/opengl/OpenGLHelper.hxx>
diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm
index 92ccc7c750fe..485212a72ded 100644
--- a/vcl/osx/a11ywrapper.mm
+++ b/vcl/osx/a11ywrapper.mm
@@ -46,6 +46,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::awt;
diff --git a/vcl/osx/saldata.cxx b/vcl/osx/saldata.cxx
index 662a5c1bd7b2..30b3ab5cffdc 100644
--- a/vcl/osx/saldata.cxx
+++ b/vcl/osx/saldata.cxx
@@ -19,6 +19,7 @@
#include <config_features.h>
+#include <osl/diagnose.h>
#include <osx/saldata.hxx>
#include <osx/salnsmenu.h>
#include <osx/salinst.h>
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 23f52dfbbf4f..50a899c9da4d 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -22,6 +22,7 @@
#include <comphelper/fileurl.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <osl/file.h>
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index b3797c958f4d..dcbfb98451f2 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <condition_variable>
#include <mutex>
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx
index 4a99e4305324..973fdddfb33c 100644
--- a/vcl/osx/salmenu.cxx
+++ b/vcl/osx/salmenu.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <objc/objc-runtime.h>
diff --git a/vcl/osx/salnsmenu.mm b/vcl/osx/salnsmenu.mm
index e823bcfcbd1d..1dba47f031db 100644
--- a/vcl/osx/salnsmenu.mm
+++ b/vcl/osx/salnsmenu.mm
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <osl/diagnose.h>
#include <vcl/window.hxx>
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index d8498ff6a364..08f696345aa2 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -21,6 +21,7 @@
#include <vcl/print.hxx>
#include <sal/macros.h>
+#include <osl/diagnose.h>
#include <osx/salinst.h>
#include <osx/salprn.h>
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 8fd2a5e76aee..cc3c06f95619 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <cstddef>
#include <limits>
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 3221804607e3..626214690166 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -22,6 +22,7 @@
#include <osl/module.h>
#include <osl/file.hxx>
#include <osl/thread.h>
+#include <osl/module.hxx>
#include <rtl/tencinfo.h>
#include <rtl/instance.hxx>
diff --git a/vcl/source/app/unohelp.cxx b/vcl/source/app/unohelp.cxx
index 413f470cac56..e85fd67eae02 100644
--- a/vcl/source/app/unohelp.cxx
+++ b/vcl/source/app/unohelp.cxx
@@ -21,6 +21,7 @@
#include <vcl/unohelp.hxx>
#include <svdata.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/bitmap/BitmapInterpolateScaleFilter.cxx b/vcl/source/bitmap/BitmapInterpolateScaleFilter.cxx
index 13e238bc1ecf..73f521480f09 100644
--- a/vcl/source/bitmap/BitmapInterpolateScaleFilter.cxx
+++ b/vcl/source/bitmap/BitmapInterpolateScaleFilter.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/helpers.hxx>
+#include <osl/diagnose.h>
#include <vcl/bitmapex.hxx>
#include <vcl/bitmapaccess.hxx>
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 54600b8ea31d..4ac8c03cc32b 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -44,6 +44,7 @@
#include <controldata.hxx>
#include <o3tl/make_unique.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <comphelper/dispatchcommand.hxx>
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 519eb8aa5a49..59220ac21258 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <comphelper/string.hxx>
diff --git a/vcl/source/control/fmtfield.cxx b/vcl/source/control/fmtfield.cxx
index d9e2b015506b..676d6b165916 100644
--- a/vcl/source/control/fmtfield.cxx
+++ b/vcl/source/control/fmtfield.cxx
@@ -38,6 +38,7 @@
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::util;
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx
index 9c471d0d5655..b25f35febcd2 100644
--- a/vcl/source/control/imgctrl.cxx
+++ b/vcl/source/control/imgctrl.cxx
@@ -21,6 +21,7 @@
#include <vcl/imgctrl.hxx>
#include <com/sun/star/awt/ImageScaleMode.hpp>
+#include <osl/diagnose.h>
namespace ImageScaleMode = css::awt::ImageScaleMode;
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index e7f770d5ff1f..41750ae91eca 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -40,6 +40,7 @@
#include <rtl/instance.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <comphelper/string.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx
index 63fdab60ffef..165dbfde9fa9 100644
--- a/vcl/source/edit/textdata.cxx
+++ b/vcl/source/edit/textdata.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <cstddef>
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index a8fe3486be61..33e34151cfb7 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -30,6 +30,7 @@
#include <vcl/settings.hxx>
#include <vcl/edit.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <o3tl/make_unique.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index e9629d7f9967..cff800230814 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -31,6 +31,7 @@
#include <strings.hrc>
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx>
+#include <osl/diagnose.h>
class ImpVclMEdit : public SfxListener
{
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 76c8c35fd8b6..1e93721f9992 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <osl/diagnose.h>
#include <algorithm>
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 2994bbc610aa..15f2352e96ef 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -25,6 +25,7 @@
#include <vcl/bitmap.hxx>
#include <config_features.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#if HAVE_FEATURE_OPENGL
#include <vcl/opengl/OpenGLHelper.hxx>
#endif
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index ae7e5bcd858d..d5cf8178c34f 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -20,9 +20,11 @@
#include <rtl/crc.h>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
+#include <basegfx/color/bcolormodifier.hxx>
#include <unotools/resmgr.hxx>
#include <vcl/ImageTree.hxx>
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx
index dc7236bce9b0..77689140c863 100644
--- a/vcl/source/gdi/gdimetafiletools.cxx
+++ b/vcl/source/gdi/gdimetafiletools.cxx
@@ -26,6 +26,7 @@
#include <vcl/virdev.hxx>
#include <vcl/svapp.hxx>
#include <vcl/graphictools.hxx>
+#include <osl/diagnose.h>
// helpers
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 0f93bc0908e8..0262c4b6b8d8 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -21,6 +21,7 @@
#include <cstdlib>
#include <memory>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <tools/fract.hxx>
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 9655126ed411..0624bee326ef 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -27,6 +27,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <set>
#include <memory>
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 78e3a19c7381..753c85f9ae6d 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <cassert>
#include <memory>
diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx
index 1a689ce1dfcd..c1d40686a50a 100644
--- a/vcl/source/gdi/svmconverter.cxx
+++ b/vcl/source/gdi/svmconverter.cxx
@@ -30,6 +30,7 @@
#include <vcl/lineinfo.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <svmconverter.hxx>
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index e6596df1f5b8..42aa0d78c486 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -44,6 +44,7 @@
#include <comphelper/lok.hxx>
#include <bitmapwriteaccess.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
void OutputDevice::DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap )
{
diff --git a/vcl/source/outdev/clipping.cxx b/vcl/source/outdev/clipping.cxx
index 1c17d53aba14..eb5355d4d123 100644
--- a/vcl/source/outdev/clipping.cxx
+++ b/vcl/source/outdev/clipping.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <osl/diagnose.h>
#include <vcl/metaact.hxx>
#include <vcl/virdev.hxx>
diff --git a/vcl/source/outdev/map.cxx b/vcl/source/outdev/map.cxx
index 17cda2bf157e..e3275b904a3e 100644
--- a/vcl/source/outdev/map.cxx
+++ b/vcl/source/outdev/map.cxx
@@ -24,6 +24,7 @@
#include <vcl/virdev.hxx>
#include <vcl/wrkwin.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <svdata.hxx>
#include <window.h>
diff --git a/vcl/source/outdev/nativecontrols.cxx b/vcl/source/outdev/nativecontrols.cxx
index 3634bfe3cb01..c848ec2d0b53 100644
--- a/vcl/source/outdev/nativecontrols.cxx
+++ b/vcl/source/outdev/nativecontrols.cxx
@@ -23,6 +23,7 @@
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <vcl/salnativewidgets.hxx>
#include <vcl/pdfextoutdevdata.hxx>
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index 7222111e883d..a988a4966bc2 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <accel.h>
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx
index b598996a0c51..98cb27322aee 100644
--- a/vcl/source/window/mouse.cxx
+++ b/vcl/source/window/mouse.cxx
@@ -46,6 +46,7 @@
#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index d3140e084a55..ce0e4b03fa3f 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -42,6 +42,7 @@
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 0ed1ac2e1414..a5820aff5013 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -35,6 +35,7 @@
#include <tools/poly.hxx>
#include <svl/imageitm.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <svdata.hxx>
#include <window.h>
diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx
index e890a09a8426..00c5c4c3c6f7 100644
--- a/vcl/win/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/gdi/salnativewidgets-luna.cxx
@@ -33,6 +33,7 @@
#include <rtl/ustring.h>
+#include <osl/diagnose.h>
#include <osl/module.h>
#include <o3tl/char16_t2wchar_t.hxx>
diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx
index 51eb8f9bb602..bcfb83315fb6 100644
--- a/vcl/win/gdi/salprn.cxx
+++ b/vcl/win/gdi/salprn.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <memory>
#include <string.h>
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index e5bd5dbcd9d4..e9e398b8b4c7 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -43,6 +43,7 @@
#include <vcl/wrkwin.hxx>
#include <vcl/fltcall.hxx>
#include <osl/file.hxx>
+#include <osl/module.hxx>
#include "../source/filter/igif/gifread.hxx"
#include "../source/filter/ixbm/xbmread.hxx"