summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-12-26 01:11:42 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-07 09:13:14 +0100
commit6256797dacfafaa573a67643440a3fe4e8128dca (patch)
tree73bb6fb0ba68a3dc15858d3161e20c3e9e0fd921 /sw/source
parent892a5cfe557edb405ec0037676f02a1c24dd76ec (diff)
tdf#42949 Fix IWYU warnings in include/vcl/[v-x]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I98f49765c6b74808dcbd692e0f375dd2848fcfd4 Reviewed-on: https://gerrit.libreoffice.org/65614 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/DocumentRedlineManager.cxx1
-rw-r--r--sw/source/core/doc/doccomp.cxx1
-rw-r--r--sw/source/core/doc/docdesc.cxx1
-rw-r--r--sw/source/core/doc/docfmt.cxx1
-rw-r--r--sw/source/core/doc/doclay.cxx1
-rw-r--r--sw/source/core/edit/edfcol.cxx1
-rw-r--r--sw/source/core/frmedt/fecopy.cxx1
-rw-r--r--sw/source/core/inc/layact.hxx2
-rw-r--r--sw/source/filter/html/SwAppletImpl.cxx1
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.cxx1
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx1
-rw-r--r--sw/source/ui/fldui/FldRefTreeListBox.cxx1
-rw-r--r--sw/source/ui/table/autoformatpreview.cxx1
-rw-r--r--sw/source/uibase/cctrl/actctrl.cxx1
-rw-r--r--sw/source/uibase/config/modcfg.cxx1
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx1
-rw-r--r--sw/source/uibase/docvw/AnnotationMenuButton.cxx1
-rw-r--r--sw/source/uibase/docvw/AnnotationWin.cxx1
-rw-r--r--sw/source/uibase/docvw/SidebarTxtControlAcc.cxx1
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx1
-rw-r--r--sw/source/uibase/inc/PageBreakWin.hxx1
-rw-r--r--sw/source/uibase/shells/basesh.cxx1
-rw-r--r--sw/source/uibase/uiview/srcview.cxx1
-rw-r--r--sw/source/uibase/utlui/initui.cxx1
-rw-r--r--sw/source/uibase/utlui/viewlayoutctrl.cxx1
-rw-r--r--sw/source/uibase/web/wview.cxx1
26 files changed, 27 insertions, 0 deletions
diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx
index 57b70c9ce3c5..326b151da2a7 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -40,6 +40,7 @@
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <sal/log.hxx>
+#include <o3tl/make_unique.hxx>
using namespace com::sun::star;
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index d61775dc8f1e..f8a1bf8f3488 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -21,6 +21,7 @@
#include <hintids.hxx>
#include <rtl/character.hxx>
#include <vcl/vclenum.hxx>
+#include <o3tl/make_unique.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/boxitem.hxx>
diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index 390590af3c59..f391fc323b11 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -65,6 +65,7 @@
#include <svx/swframetypes.hxx>
#include <svx/svxids.hrc>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
+#include <o3tl/make_unique.hxx>
using namespace com::sun::star;
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 8783623f6ab6..731120f0e263 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -35,6 +35,7 @@
#include <unotools/configmgr.hxx>
#include <unotools/misccfg.hxx>
#include <sal/log.hxx>
+#include <o3tl/make_unique.hxx>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <fmtpdsc.hxx>
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index da2225d1b9f7..11f9e0ef571a 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -35,6 +35,7 @@
#include <svx/svdouno.hxx>
#include <svx/fmpage.hxx>
#include <editeng/frmdiritem.hxx>
+#include <o3tl/make_unique.hxx>
#include <swmodule.hxx>
#include <modcfg.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 5a76f8ab99d9..13fd5b3ce686 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -60,6 +60,7 @@
#include <utility>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
+#include <vcl/virdev.hxx>
#include <hintids.hxx>
#include <doc.hxx>
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index 9eb869de51ec..2315d6e839c1 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -77,6 +77,7 @@
#include <textboxhelper.hxx>
#include <vcl/virdev.hxx>
#include <svx/svdundo.hxx>
+#include <o3tl/make_unique.hxx>
using namespace ::com::sun::star;
diff --git a/sw/source/core/inc/layact.hxx b/sw/source/core/inc/layact.hxx
index adb79928ce5d..8f5960837031 100644
--- a/sw/source/core/inc/layact.hxx
+++ b/sw/source/core/inc/layact.hxx
@@ -21,6 +21,8 @@
#include <sal/config.h>
+#include <vcl/inputtypes.hxx>
+
#include <ctime>
#include <swtypes.hxx>
diff --git a/sw/source/filter/html/SwAppletImpl.cxx b/sw/source/filter/html/SwAppletImpl.cxx
index a60fd75f36e6..725e94a622d5 100644
--- a/sw/source/filter/html/SwAppletImpl.cxx
+++ b/sw/source/filter/html/SwAppletImpl.cxx
@@ -21,6 +21,7 @@
#include <svtools/htmlkywd.hxx>
#include <svl/urihelper.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <comphelper/embeddedobjectcontainer.hxx>
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx
index d38f3866d349..a05eba96f9d8 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.cxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.cxx
@@ -28,6 +28,7 @@
#include <mmconfigitem.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/event.hxx>
#include <vcl/fixed.hxx>
#include <vcl/commandevent.hxx>
#include <svtools/controldims.hxx>
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 178d5d985d19..2e50668fef41 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -25,6 +25,7 @@
#include <vcl/weld.hxx>
#include <vcl/txtattr.hxx>
#include <vcl/xtextedt.hxx>
+#include <vcl/textview.hxx>
#include <vcl/builderfactory.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/treelistentry.hxx>
diff --git a/sw/source/ui/fldui/FldRefTreeListBox.cxx b/sw/source/ui/fldui/FldRefTreeListBox.cxx
index 6935a568996f..c69d6141c74c 100644
--- a/sw/source/ui/fldui/FldRefTreeListBox.cxx
+++ b/sw/source/ui/fldui/FldRefTreeListBox.cxx
@@ -20,6 +20,7 @@
#include "FldRefTreeListBox.hxx"
#include <vcl/builderfactory.hxx>
+#include <vcl/event.hxx>
#include <vcl/help.hxx>
SwFieldRefTreeListBox::SwFieldRefTreeListBox(vcl::Window* pParent, WinBits nStyle)
diff --git a/sw/source/ui/table/autoformatpreview.cxx b/sw/source/ui/table/autoformatpreview.cxx
index d5e13e58b99f..6f0f92f98ffb 100644
--- a/sw/source/ui/table/autoformatpreview.cxx
+++ b/sw/source/ui/table/autoformatpreview.cxx
@@ -18,6 +18,7 @@
*/
#include <vcl/builderfactory.hxx>
+#include <vcl/settings.hxx>
#include <com/sun/star/i18n/BreakIterator.hpp>
#include <comphelper/processfactory.hxx>
#include <svtools/scriptedtext.hxx>
diff --git a/sw/source/uibase/cctrl/actctrl.cxx b/sw/source/uibase/cctrl/actctrl.cxx
index c1e4da12e912..92f97a00f5e2 100644
--- a/sw/source/uibase/cctrl/actctrl.cxx
+++ b/sw/source/uibase/cctrl/actctrl.cxx
@@ -19,6 +19,7 @@
#include <vcl/builderfactory.hxx>
#include <actctrl.hxx>
+#include <vcl/event.hxx>
#include <vcl/toolbox.hxx>
bool NumEditAction::EventNotify( NotifyEvent& rNEvt )
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx
index 78dbae70b85f..ea2d83bc111a 100644
--- a/sw/source/uibase/config/modcfg.cxx
+++ b/sw/source/uibase/config/modcfg.cxx
@@ -22,6 +22,7 @@
#include <comphelper/classids.hxx>
#include <o3tl/any.hxx>
#include <tools/stream.hxx>
+#include <tools/fontenum.hxx>
#include <vcl/svapp.hxx>
#include <svx/svxids.hrc>
#include <editeng/svxenum.hxx>
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index b929b5317c89..88e10572ea38 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/mail/MailServiceProvider.hpp>
#include <com/sun/star/mail/XSmtpService.hpp>
#include <comphelper/processfactory.hxx>
+#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <vcl/builderfactory.hxx>
diff --git a/sw/source/uibase/docvw/AnnotationMenuButton.cxx b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
index 1b4a19171f28..51a7d809d7cc 100644
--- a/sw/source/uibase/docvw/AnnotationMenuButton.cxx
+++ b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
@@ -29,6 +29,7 @@
#include <vcl/decoview.hxx>
#include <vcl/gradient.hxx>
#include <vcl/settings.hxx>
+#include <vcl/event.hxx>
#include <cmdid.h>
#include <AnnotationWin.hxx>
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx
index fa46377e8179..8d10bd8972bc 100644
--- a/sw/source/uibase/docvw/AnnotationWin.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin.cxx
@@ -31,6 +31,7 @@
#include <unotools/localedatawrapper.hxx>
#include <unotools/syslocale.hxx>
#include <svl/languageoptions.hxx>
+#include <o3tl/make_unique.hxx>
#include <editeng/postitem.hxx>
#include <editeng/fhgtitem.hxx>
diff --git a/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx b/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx
index 40bee0951c16..1751d9284f21 100644
--- a/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx
+++ b/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx
@@ -34,6 +34,7 @@
#include <svx/AccessibleTextHelper.hxx>
#include <editeng/outliner.hxx>
#include <o3tl/make_unique.hxx>
+#include <vcl/vclevent.hxx>
namespace sw { namespace sidebarwindows {
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 6fb5b68c2a16..26613e463ebb 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/i18n/UnicodeScript.hpp>
#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
+#include <vcl/inputctx.hxx>
#include <vcl/help.hxx>
#include <vcl/graph.hxx>
#include <vcl/weld.hxx>
diff --git a/sw/source/uibase/inc/PageBreakWin.hxx b/sw/source/uibase/inc/PageBreakWin.hxx
index e51766641b7c..8e0ad200137e 100644
--- a/sw/source/uibase/inc/PageBreakWin.hxx
+++ b/sw/source/uibase/inc/PageBreakWin.hxx
@@ -14,6 +14,7 @@
#include <vcl/menubtn.hxx>
#include <boost/optional.hpp>
+class Menu;
class SwPageFrame;
/** Class for the page break control window.
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 618548977001..48fb9e17c71f 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -41,6 +41,7 @@
#include <svx/clipfmtitem.hxx>
#include <svx/contdlg.hxx>
#include <vcl/graph.hxx>
+#include <vcl/inputctx.hxx>
#include <svl/slstitm.hxx>
#include <svl/ptitem.hxx>
#include <svl/itemiter.hxx>
diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx
index d36fa59347e7..388406d7ce22 100644
--- a/sw/source/uibase/uiview/srcview.cxx
+++ b/sw/source/uibase/uiview/srcview.cxx
@@ -27,6 +27,7 @@
#include <vcl/print.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/metric.hxx>
+#include <vcl/textview.hxx>
#include <svtools/ctrltool.hxx>
#include <svl/intitem.hxx>
#include <svl/stritem.hxx>
diff --git a/sw/source/uibase/utlui/initui.cxx b/sw/source/uibase/utlui/initui.cxx
index b7a7364cfd8d..d8fd77e627d1 100644
--- a/sw/source/uibase/utlui/initui.cxx
+++ b/sw/source/uibase/utlui/initui.cxx
@@ -33,6 +33,7 @@
#include <authfld.hxx>
#include <dbmgr.hxx>
#include <unotools/syslocale.hxx>
+#include <vcl/keycod.hxx>
#include <unomid.h>
diff --git a/sw/source/uibase/utlui/viewlayoutctrl.cxx b/sw/source/uibase/utlui/viewlayoutctrl.cxx
index c813ffaa5baf..d6e75784da35 100644
--- a/sw/source/uibase/utlui/viewlayoutctrl.cxx
+++ b/sw/source/uibase/utlui/viewlayoutctrl.cxx
@@ -19,6 +19,7 @@
#include <viewlayoutctrl.hxx>
+#include <vcl/event.hxx>
#include <vcl/status.hxx>
#include <vcl/image.hxx>
#include <svl/eitem.hxx>
diff --git a/sw/source/uibase/web/wview.cxx b/sw/source/uibase/web/wview.cxx
index c3f0c0f27ca7..3d82442780f0 100644
--- a/sw/source/uibase/web/wview.cxx
+++ b/sw/source/uibase/web/wview.cxx
@@ -30,6 +30,7 @@
#include <svx/fmshell.hxx>
#include <svx/extrusionbar.hxx>
#include <svx/fontworkbar.hxx>
+#include <vcl/inputctx.hxx>
#include <sfx2/objface.hxx>
#include <swmodule.hxx>