diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-12-05 21:33:45 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-12-06 11:53:30 +0100 |
commit | 05db09fbe9b9de79a61a5b699dbf93fa67d9bdfd (patch) | |
tree | a722c2841a08a6232faa6ed960721cda1dbdfe19 /sw/source/core/view | |
parent | 496716a8709aa53eb8705938821e6cf25f6b5edf (diff) |
tdf#42949 Fix IWYU warnings in sw/source/core/[u-v]*/*cxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I86602514130061e47943c490005e6bbf3460b1b0
Reviewed-on: https://gerrit.libreoffice.org/84585
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/core/view')
-rw-r--r-- | sw/source/core/view/pagepreviewlayout.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/printdata.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/view/vdraw.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/view/viewimp.cxx | 7 | ||||
-rw-r--r-- | sw/source/core/view/viewpg.cxx | 13 | ||||
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 15 | ||||
-rw-r--r-- | sw/source/core/view/vprint.cxx | 26 |
7 files changed, 2 insertions, 63 deletions
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx index a47c59d71209..46979a985bcd 100644 --- a/sw/source/core/view/pagepreviewlayout.cxx +++ b/sw/source/core/view/pagepreviewlayout.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <vcl/svapp.hxx> - #include <pagepreviewlayout.hxx> #include <prevwpage.hxx> diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx index a2da5005cc38..d7e23bf5251a 100644 --- a/sw/source/core/view/printdata.cxx +++ b/sw/source/core/view/printdata.cxx @@ -19,7 +19,6 @@ #include <printdata.hxx> -#include <globals.hrc> #include <strings.hrc> #include <doc.hxx> #include <IDocumentDeviceAccess.hxx> diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx index 695563c7b5d4..4f6853615138 100644 --- a/sw/source/core/view/vdraw.cxx +++ b/sw/source/core/view/vdraw.cxx @@ -33,7 +33,6 @@ #include <rootfrm.hxx> #include <viewimp.hxx> #include <dflyobj.hxx> -#include <viewopt.hxx> #include <printdata.hxx> #include <dcontact.hxx> #include <dview.hxx> diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx index aba0c251e3da..523d8a585172 100644 --- a/sw/source/core/view/viewimp.cxx +++ b/sw/source/core/view/viewimp.cxx @@ -17,30 +17,23 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <crsrsh.hxx> #include <rootfrm.hxx> #include <pagefrm.hxx> #include <viewimp.hxx> #include <viewopt.hxx> #include <flyfrm.hxx> -#include <frmfmt.hxx> #include <layact.hxx> #include <swregion.hxx> -#include <dflyobj.hxx> #include <dview.hxx> #include <swmodule.hxx> #include <svx/svdpage.hxx> #include <accmap.hxx> #include <pagepreviewlayout.hxx> -#include <svx/svdundo.hxx> #include <comphelper/lok.hxx> -#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <IDocumentLayoutAccess.hxx> #include <IDocumentDrawModelAccess.hxx> -#include <IDocumentDeviceAccess.hxx> -#include <IDocumentSettingAccess.hxx> #include <drawdoc.hxx> #include <prevwpage.hxx> diff --git a/sw/source/core/view/viewpg.cxx b/sw/source/core/view/viewpg.cxx index 432afc9dec58..07df8ba6bba9 100644 --- a/sw/source/core/view/viewpg.cxx +++ b/sw/source/core/view/viewpg.cxx @@ -17,27 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <hintids.hxx> #include <tools/fract.hxx> -#include <vcl/window.hxx> -#include <vcl/oldprintadaptor.hxx> -#include <sfx2/printer.hxx> -#include <sfx2/progress.hxx> -#include <pvprtdat.hxx> #include <viewsh.hxx> #include <pagefrm.hxx> -#include <rootfrm.hxx> #include <viewimp.hxx> -#include <viewopt.hxx> #include <printdata.hxx> -#include <fldbas.hxx> #include <ptqueue.hxx> -#include <swregion.hxx> -#include <hints.hxx> #include <fntcache.hxx> -#include <IDocumentFieldsAccess.hxx> -#include <IDocumentDeviceAccess.hxx> #include "vprint.hxx" using namespace ::com::sun::star; diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 6ce52e5e041c..f3b419a1cab5 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -17,20 +17,16 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <config_features.h> - #include <com/sun/star/accessibility/XAccessible.hpp> #include <sfx2/viewfrm.hxx> #include <sfx2/progress.hxx> #include <svx/srchdlg.hxx> -#include <svx/svdobj.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/ipclient.hxx> #include <sal/log.hxx> #include <drawdoc.hxx> #include <swwait.hxx> -#include <swmodule.hxx> -#include <fesh.hxx> +#include <crsrsh.hxx> #include <doc.hxx> #include <IDocumentDeviceAccess.hxx> #include <IDocumentDrawModelAccess.hxx> @@ -47,23 +43,18 @@ #include <dview.hxx> #include <swregion.hxx> #include <hints.hxx> -#include <fmtfsize.hxx> #include <docufld.hxx> #include <txtfrm.hxx> #include <layact.hxx> #include <mdiexp.hxx> #include <fntcache.hxx> #include <ptqueue.hxx> -#include <tabfrm.hxx> #include <docsh.hxx> #include <pagedesc.hxx> #include <ndole.hxx> #include <ndindex.hxx> #include <accmap.hxx> #include <vcl/bitmapex.hxx> -#include <svtools/colorcfg.hxx> -#include <vcl/bitmapaccess.hxx> -#include <vcl/alpha.hxx> #include <svtools/accessibilityoptions.hxx> #include <accessibilityoptions.hxx> #include <strings.hrc> @@ -71,21 +62,17 @@ #include <pagepreviewlayout.hxx> #include <sortedobjs.hxx> #include <anchoredobject.hxx> -#include <wrtsh.hxx> #include <DocumentSettingManager.hxx> #include <unotxdoc.hxx> #include <view.hxx> #include <PostItMgr.hxx> #include <unotools/configmgr.hxx> -#include <vcl/dibtools.hxx> #include <vcl/virdev.hxx> #include <vcl/svapp.hxx> #include <svx/sdrpaintwindow.hxx> #include <svx/sdr/overlay/overlaymanager.hxx> -#include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <comphelper/lok.hxx> -#include <prevwpage.hxx> #include <sfx2/lokhelper.hxx> #if !HAVE_FEATURE_DESKTOP diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx index 7828ad97adf1..ef35a749273f 100644 --- a/sw/source/core/view/vprint.cxx +++ b/sw/source/core/view/vprint.cxx @@ -19,26 +19,12 @@ #include <hintids.hxx> -#include <sfx2/app.hxx> -#include <sfx2/objsh.hxx> #include <sfx2/printer.hxx> -#include <sfx2/prnmon.hxx> -#include <svl/languageoptions.hxx> -#include <editeng/paperinf.hxx> -#include <editeng/pbinitem.hxx> #include <svx/svdview.hxx> -#include <toolkit/awt/vclxdevice.hxx> -#include <unotools/localedatawrapper.hxx> -#include <unotools/moduleoptions.hxx> -#include <unotools/syslocale.hxx> -#include <vcl/oldprintadaptor.hxx> - -#include <unotxdoc.hxx> -#include <docsh.hxx> + #include <txtfld.hxx> #include <fmtfld.hxx> #include <fmtfsize.hxx> -#include <frmatr.hxx> #include <rootfrm.hxx> #include <pagefrm.hxx> #include <cntfrm.hxx> @@ -47,27 +33,17 @@ #include <IDocumentDeviceAccess.hxx> #include <IDocumentFieldsAccess.hxx> #include <IDocumentLayoutAccess.hxx> -#include <wdocsh.hxx> #include <fesh.hxx> #include <pam.hxx> #include <viewimp.hxx> #include <layact.hxx> #include <ndtxt.hxx> -#include <fldbas.hxx> -#include <docfld.hxx> -#include <docufld.hxx> -#include <shellres.hxx> #include <viewopt.hxx> #include <printdata.hxx> #include <pagedesc.hxx> -#include <poolfmt.hxx> -#include <mdiexp.hxx> #include <ptqueue.hxx> -#include <tabfrm.hxx> -#include <txtfrm.hxx> #include <viscrs.hxx> #include <fmtpdsc.hxx> -#include <globals.hrc> #include <PostItMgr.hxx> #include "vprint.hxx" |