diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-09-05 01:00:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-09-16 09:48:56 +0200 |
commit | ecbe359df7d6842d232f0718dcaf004632bb39da (patch) | |
tree | e30cf2729c36126f45af807b81fa3a504d668c87 /vcl/unx/generic/print | |
parent | b21be80c403abefa40cf9056d46b8c8e8d69a8ac (diff) |
tdf#42949 Fix IWYU warnings in vcl/unx/generic/*
Also recheck vcl/inc/unx/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I6e91c51892063b0ae6fe571753c4924f2481f3c2
Reviewed-on: https://gerrit.libreoffice.org/78618
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'vcl/unx/generic/print')
-rw-r--r-- | vcl/unx/generic/print/bitmap_gfx.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/generic/print/common_gfx.cxx | 3 | ||||
-rw-r--r-- | vcl/unx/generic/print/genprnpsp.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/generic/print/genpspgraphics.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/print/glyphset.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/generic/print/glyphset.hxx | 3 | ||||
-rw-r--r-- | vcl/unx/generic/print/printerjob.cxx | 3 | ||||
-rw-r--r-- | vcl/unx/generic/print/prtsetup.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/print/psputil.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/generic/print/psputil.hxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/print/text_gfx.cxx | 7 |
11 files changed, 1 insertions, 33 deletions
diff --git a/vcl/unx/generic/print/bitmap_gfx.cxx b/vcl/unx/generic/print/bitmap_gfx.cxx index b52b892b3462..f58e77d0ecae 100644 --- a/vcl/unx/generic/print/bitmap_gfx.cxx +++ b/vcl/unx/generic/print/bitmap_gfx.cxx @@ -22,7 +22,6 @@ #include "psputil.hxx" #include <unx/printergfx.hxx> -#include <vcl/strhelper.hxx> namespace psp { diff --git a/vcl/unx/generic/print/common_gfx.cxx b/vcl/unx/generic/print/common_gfx.cxx index 39d5e0ceb38c..0d33c76393ff 100644 --- a/vcl/unx/generic/print/common_gfx.cxx +++ b/vcl/unx/generic/print/common_gfx.cxx @@ -19,8 +19,6 @@ #include <sal/config.h> -#include <cstdlib> - #include "psputil.hxx" #include "glyphset.hxx" @@ -33,7 +31,6 @@ #include <tools/color.hxx> #include <tools/poly.hxx> #include <tools/stream.hxx> -#include <tools/debug.hxx> using namespace psp ; diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx index 7e1d1a33c8ba..0c1fb28bf7e1 100644 --- a/vcl/unx/generic/print/genprnpsp.cxx +++ b/vcl/unx/generic/print/genprnpsp.cxx @@ -55,7 +55,6 @@ #include <jobset.h> #include <print.h> #include "prtsetup.hxx" -#include <salframe.hxx> #include <salptype.hxx> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/vcl/unx/generic/print/genpspgraphics.cxx b/vcl/unx/generic/print/genpspgraphics.cxx index 26c4163893e4..942b7ea9e522 100644 --- a/vcl/unx/generic/print/genpspgraphics.cxx +++ b/vcl/unx/generic/print/genpspgraphics.cxx @@ -28,12 +28,10 @@ #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> -#include <sys/types.h> #include <i18nlangtag/mslangid.hxx> #include <vcl/bitmapaccess.hxx> #include <vcl/jobdata.hxx> -#include <printerinfomanager.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <vcl/sysdata.hxx> @@ -45,7 +43,6 @@ #include <unx/geninst.h> #include <unx/genpspgraphics.h> #include <unx/printergfx.hxx> -#include <impfont.hxx> #include <langboost.hxx> #include <fontinstance.hxx> #include <fontattributes.hxx> @@ -53,7 +50,6 @@ #include <PhysicalFontCollection.hxx> #include <PhysicalFontFace.hxx> #include <salbmp.hxx> -#include <salprn.hxx> #include <sallayout.hxx> using namespace psp; diff --git a/vcl/unx/generic/print/glyphset.cxx b/vcl/unx/generic/print/glyphset.cxx index 17555d7baf07..9f8105fda2ca 100644 --- a/vcl/unx/generic/print/glyphset.cxx +++ b/vcl/unx/generic/print/glyphset.cxx @@ -18,7 +18,6 @@ */ #include "glyphset.hxx" -#include "psputil.hxx" #include <sft.hxx> @@ -30,15 +29,11 @@ #include <osl/thread.h> -#include <sal/alloca.h> - #include <rtl/ustring.hxx> #include <rtl/strbuf.hxx> #include <unotools/tempfile.hxx> -#include <set> -#include <map> #include <algorithm> using namespace vcl; diff --git a/vcl/unx/generic/print/glyphset.hxx b/vcl/unx/generic/print/glyphset.hxx index f3599a4e8a89..4d5a06101743 100644 --- a/vcl/unx/generic/print/glyphset.hxx +++ b/vcl/unx/generic/print/glyphset.hxx @@ -20,11 +20,10 @@ #ifndef INCLUDED_VCL_GENERIC_PRINT_GLYPHSET_HXX #define INCLUDED_VCL_GENERIC_PRINT_GLYPHSET_HXX -#include <unx/fontmanager.hxx> - #include <osl/file.hxx> #include <rtl/string.hxx> +#include <vcl/glyphitem.hxx> #include <vector> #include <unordered_map> diff --git a/vcl/unx/generic/print/printerjob.cxx b/vcl/unx/generic/print/printerjob.cxx index c0abcf3e9814..5bf85101869d 100644 --- a/vcl/unx/generic/print/printerjob.cxx +++ b/vcl/unx/generic/print/printerjob.cxx @@ -18,13 +18,11 @@ */ #include <stdio.h> -#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include "psputil.hxx" -#include "glyphset.hxx" #include <unx/printerjob.hxx> #include <unx/printergfx.hxx> @@ -38,7 +36,6 @@ #include <osl/thread.h> #include <osl/security.hxx> -#include <sal/macros.h> #include <algorithm> #include <deque> diff --git a/vcl/unx/generic/print/prtsetup.cxx b/vcl/unx/generic/print/prtsetup.cxx index 72d550f11844..0bbbc75ad759 100644 --- a/vcl/unx/generic/print/prtsetup.cxx +++ b/vcl/unx/generic/print/prtsetup.cxx @@ -21,8 +21,6 @@ #include <svdata.hxx> #include <strings.hrc> -#include <osl/thread.h> - #include <officecfg/Office/Common.hxx> using namespace psp; diff --git a/vcl/unx/generic/print/psputil.cxx b/vcl/unx/generic/print/psputil.cxx index 4658865ed028..eefbc23d4353 100644 --- a/vcl/unx/generic/print/psputil.cxx +++ b/vcl/unx/generic/print/psputil.cxx @@ -18,7 +18,6 @@ */ #include <string.h> -#include <rtl/instance.hxx> #include "psputil.hxx" namespace psp { diff --git a/vcl/unx/generic/print/psputil.hxx b/vcl/unx/generic/print/psputil.hxx index ae3d78a730de..5195c50440cf 100644 --- a/vcl/unx/generic/print/psputil.hxx +++ b/vcl/unx/generic/print/psputil.hxx @@ -26,10 +26,6 @@ #include <rtl/ustring.hxx> #include <rtl/strbuf.hxx> #include <rtl/string.hxx> -#include <rtl/tencinfo.h> -#include <rtl/textcvt.h> - -#include <map> namespace psp { diff --git a/vcl/unx/generic/print/text_gfx.cxx b/vcl/unx/generic/print/text_gfx.cxx index e7ced7a83c97..d3153952b0a6 100644 --- a/vcl/unx/generic/print/text_gfx.cxx +++ b/vcl/unx/generic/print/text_gfx.cxx @@ -17,18 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <math.h> - #include "psputil.hxx" #include "glyphset.hxx" #include <unx/printergfx.hxx> #include <unx/fontmanager.hxx> -#include <unx/helper.hxx> - -#include <osl/thread.h> - -#include <sal/alloca.h> using namespace psp ; |