summaryrefslogtreecommitdiff
path: root/svx/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 /svx/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 'svx/source')
-rw-r--r--svx/source/dialog/ClassificationEditView.cxx1
-rw-r--r--svx/source/dialog/charmap.cxx1
-rw-r--r--svx/source/dialog/dialcontrol.cxx2
-rw-r--r--svx/source/dialog/framelinkarray.cxx1
-rw-r--r--svx/source/dialog/frmsel.cxx2
-rw-r--r--svx/source/dialog/measctrl.cxx1
-rw-r--r--svx/source/dialog/rubydialog.cxx1
-rw-r--r--svx/source/dialog/searchcharmap.cxx1
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx1
-rw-r--r--svx/source/fmcomp/fmgridif.cxx1
-rw-r--r--svx/source/fmcomp/gridcell.cxx1
-rw-r--r--svx/source/fmcomp/gridctrl.cxx1
-rw-r--r--svx/source/form/fmexch.cxx1
-rw-r--r--svx/source/form/fmscriptingenv.cxx1
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx1
-rw-r--r--svx/source/sdr/contact/objectcontactofobjlistpainter.cxx1
-rw-r--r--svx/source/sdr/contact/sdrmediawindow.cxx1
-rw-r--r--svx/source/sdr/contact/viewcontactofgroup.cxx1
-rw-r--r--svx/source/sdr/properties/pageproperties.cxx1
-rw-r--r--svx/source/sidebar/possize/SidebarDialControl.cxx1
-rw-r--r--svx/source/stbctrls/insctrl.cxx1
-rw-r--r--svx/source/stbctrls/modctrl.cxx2
-rw-r--r--svx/source/stbctrls/zoomsliderctrl.cxx1
-rw-r--r--svx/source/svdraw/svdmrkv.cxx1
-rw-r--r--svx/source/svdraw/svdsnpv.cxx1
-rw-r--r--svx/source/svdraw/textchaincursor.cxx1
-rw-r--r--svx/source/table/tablecontroller.cxx1
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx1
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx1
-rw-r--r--svx/source/unodraw/unopool.cxx1
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx1
-rw-r--r--svx/source/xoutdev/xtable.cxx1
32 files changed, 34 insertions, 1 deletions
diff --git a/svx/source/dialog/ClassificationEditView.cxx b/svx/source/dialog/ClassificationEditView.cxx
index 99989843fa45..ea0002897da5 100644
--- a/svx/source/dialog/ClassificationEditView.cxx
+++ b/svx/source/dialog/ClassificationEditView.cxx
@@ -12,6 +12,7 @@
#include <svx/ClassificationField.hxx>
#include <vcl/builder.hxx>
+#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <svl/itemset.hxx>
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx
index db400f99c9a2..c43c1f819651 100644
--- a/svx/source/dialog/charmap.cxx
+++ b/svx/source/dialog/charmap.cxx
@@ -20,6 +20,7 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/virdev.hxx>
#include <svtools/colorcfg.hxx>
#include <rtl/textenc.h>
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index 0d9c51023985..95c68ce17ccd 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -23,10 +23,12 @@
#include <vcl/svapp.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
+#include <vcl/event.hxx>
#include <vcl/field.hxx>
#include <vcl/settings.hxx>
#include <svtools/colorcfg.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/virdev.hxx>
#include <i18nlangtag/languagetag.hxx>
namespace svx {
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx
index 0281c0300bfd..3d61a9d1810d 100644
--- a/svx/source/dialog/framelinkarray.cxx
+++ b/svx/source/dialog/framelinkarray.cxx
@@ -23,6 +23,7 @@
#include <vector>
#include <set>
#include <algorithm>
+#include <tools/debug.hxx>
#include <vcl/outdev.hxx>
#include <drawinglayer/primitive2d/borderlineprimitive2d.hxx>
#include <svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx>
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx
index ce7233371857..c33336b07605 100644
--- a/svx/source/dialog/frmsel.cxx
+++ b/svx/source/dialog/frmsel.cxx
@@ -19,7 +19,9 @@
#include <svx/frmsel.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/event.hxx>
#include <sal/log.hxx>
+#include <tools/debug.hxx>
#include <algorithm>
#include <math.h>
diff --git a/svx/source/dialog/measctrl.cxx b/svx/source/dialog/measctrl.cxx
index 1e641d6b5d42..eb9d4011da2d 100644
--- a/svx/source/dialog/measctrl.cxx
+++ b/svx/source/dialog/measctrl.cxx
@@ -22,6 +22,7 @@
#include <svx/svdmodel.hxx>
#include <svx/measctrl.hxx>
#include <svx/dlgutil.hxx>
+#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <memory>
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 452ae7fc3dcc..d2d681334cc1 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <tools/debug.hxx>
#include <osl/diagnose.h>
#include <o3tl/any.hxx>
diff --git a/svx/source/dialog/searchcharmap.cxx b/svx/source/dialog/searchcharmap.cxx
index 61e6eaaa8712..228f50c88788 100644
--- a/svx/source/dialog/searchcharmap.cxx
+++ b/svx/source/dialog/searchcharmap.cxx
@@ -20,6 +20,7 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/virdev.hxx>
#include <svtools/colorcfg.hxx>
#include <rtl/textenc.h>
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index acd329d5ceca..b4f42480eb48 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -62,6 +62,7 @@
#include <svl/eitem.hxx>
#include <vcl/fmtfield.hxx>
#include <svl/numuno.hxx>
+#include <tools/debug.hxx>
#include <tools/multisel.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/help.hxx>
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 155eba15e46e..534c608811de 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -54,6 +54,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <vcl/unohelp.hxx>
+#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <sal/macros.h>
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index ae61518d539d..1d9e7eec9326 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -65,6 +65,7 @@
#include <svtools/svmedit.hxx>
#include <svx/dialmgr.hxx>
#include <toolkit/helper/vclunohelper.hxx>
+#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/longcurr.hxx>
#include <vcl/settings.hxx>
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 0ff3ff4df8e6..10b8de7b4d1b 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -42,6 +42,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyChangeEvent.hpp>
#include <tools/diagnose_ex.h>
+#include <tools/debug.hxx>
#include <tools/fract.hxx>
#include <vcl/builder.hxx>
#include <vcl/menu.hxx>
diff --git a/svx/source/form/fmexch.cxx b/svx/source/form/fmexch.cxx
index 940f1f9c5dac..fd9c1ee677b2 100644
--- a/svx/source/form/fmexch.cxx
+++ b/svx/source/form/fmexch.cxx
@@ -25,6 +25,7 @@
#include <sot/formats.hxx>
#include <vcl/treelistbox.hxx>
#include <vcl/treelistentry.hxx>
+#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index edc281665a95..88ce72814899 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/script/XScriptListener.hpp>
#include <tools/diagnose_ex.h>
+#include <tools/debug.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/compbase.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx
index bb419edcc9da..810f18f08b27 100644
--- a/svx/source/form/fmtextcontrolshell.cxx
+++ b/svx/source/form/fmtextcontrolshell.cxx
@@ -59,6 +59,7 @@
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <vcl/outdev.hxx>
+#include <o3tl/make_unique.hxx>
#include <memory>
diff --git a/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx b/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx
index cd1c49457bfe..850547c9cf83 100644
--- a/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx
+++ b/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx
@@ -27,6 +27,7 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <svx/unoapi.hxx>
+#include <tools/debug.hxx>
#include <memory>
namespace sdr { namespace contact {
diff --git a/svx/source/sdr/contact/sdrmediawindow.cxx b/svx/source/sdr/contact/sdrmediawindow.cxx
index 891b0c084123..a804a1423ac1 100644
--- a/svx/source/sdr/contact/sdrmediawindow.cxx
+++ b/svx/source/sdr/contact/sdrmediawindow.cxx
@@ -24,6 +24,7 @@
#include <sdr/contact/viewobjectcontactofsdrmediaobj.hxx>
#include <vcl/window.hxx>
#include <vcl/commandevent.hxx>
+#include <vcl/event.hxx>
namespace sdr { namespace contact {
diff --git a/svx/source/sdr/contact/viewcontactofgroup.cxx b/svx/source/sdr/contact/viewcontactofgroup.cxx
index 38afca26ff65..3aa1b9302b08 100644
--- a/svx/source/sdr/contact/viewcontactofgroup.cxx
+++ b/svx/source/sdr/contact/viewcontactofgroup.cxx
@@ -27,6 +27,7 @@
#include <basegfx/color/bcolor.hxx>
#include <drawinglayer/primitive2d/polygonprimitive2d.hxx>
#include <drawinglayer/primitive2d/sdrdecompositiontools2d.hxx>
+#include <tools/debug.hxx>
namespace sdr
diff --git a/svx/source/sdr/properties/pageproperties.cxx b/svx/source/sdr/properties/pageproperties.cxx
index 51e11fa4c419..9e4706fcf72d 100644
--- a/svx/source/sdr/properties/pageproperties.cxx
+++ b/svx/source/sdr/properties/pageproperties.cxx
@@ -25,6 +25,7 @@
#include <svx/svdobj.hxx>
#include <svx/svdpool.hxx>
#include <vcl/outdev.hxx>
+#include <tools/debug.hxx>
namespace sdr
diff --git a/svx/source/sidebar/possize/SidebarDialControl.cxx b/svx/source/sidebar/possize/SidebarDialControl.cxx
index 502f959f39e7..ee2923c3cedd 100644
--- a/svx/source/sidebar/possize/SidebarDialControl.cxx
+++ b/svx/source/sidebar/possize/SidebarDialControl.cxx
@@ -19,6 +19,7 @@
#include <svx/sidebar/SidebarDialControl.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/svx/source/stbctrls/insctrl.cxx b/svx/source/stbctrls/insctrl.cxx
index dc3bb8222dbd..f77577e2bc3f 100644
--- a/svx/source/stbctrls/insctrl.cxx
+++ b/svx/source/stbctrls/insctrl.cxx
@@ -21,6 +21,7 @@
#include <svl/eitem.hxx>
#include <sfx2/app.hxx>
#include <sfx2/dispatch.hxx>
+#include <tools/debug.hxx>
#include <svx/strings.hrc>
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx
index d057314eda35..1faddf461c23 100644
--- a/svx/source/stbctrls/modctrl.cxx
+++ b/svx/source/stbctrls/modctrl.cxx
@@ -21,8 +21,10 @@
#include <vcl/image.hxx>
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
+#include <vcl/event.hxx>
#include <svl/eitem.hxx>
#include <sfx2/app.hxx>
+#include <tools/debug.hxx>
#include <svx/strings.hrc>
#include <svx/modctrl.hxx>
diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx
index b54490cc4ce1..52ffa75d8762 100644
--- a/svx/source/stbctrls/zoomsliderctrl.cxx
+++ b/svx/source/stbctrls/zoomsliderctrl.cxx
@@ -23,6 +23,7 @@
#include <vcl/image.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
+#include <vcl/event.hxx>
#include <svx/zoomslideritem.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 42926e718100..4c9dfcc6dce7 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -57,6 +57,7 @@
#include <comphelper/lok.hxx>
#include <sfx2/lokhelper.hxx>
#include <sfx2/viewsh.hxx>
+#include <o3tl/make_unique.hxx>
using namespace com::sun::star;
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx
index 77100d37d6fc..81292e8be5f7 100644
--- a/svx/source/svdraw/svdsnpv.cxx
+++ b/svx/source/svdraw/svdsnpv.cxx
@@ -32,6 +32,7 @@
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <svx/sdrpaintwindow.hxx>
+#include <tools/debug.hxx>
class ImplPageOriginOverlay
diff --git a/svx/source/svdraw/textchaincursor.cxx b/svx/source/svdraw/textchaincursor.cxx
index d6d1f4de2894..117d6ddeeb5a 100644
--- a/svx/source/svdraw/textchaincursor.cxx
+++ b/svx/source/svdraw/textchaincursor.cxx
@@ -21,6 +21,7 @@
#include <svx/textchaincursor.hxx>
#include <svx/svdedxv.hxx>
#include <svx/svdoutl.hxx>
+#include <vcl/event.hxx>
// XXX: Possible duplication of code in behavior with stuff in ImpEditView (or ImpEditEngine) and OutlinerView
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 2a6dd212be91..581f6e8f754f 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -69,6 +69,7 @@
#include <memory>
#include <o3tl/enumarray.hxx>
#include <o3tl/enumrange.hxx>
+#include <o3tl/make_unique.hxx>
#include <cppuhelper/implbase.hxx>
#include <comphelper/lok.hxx>
#include <sfx2/viewsh.hxx>
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 18b22663e2c0..07402ebef464 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <rtl/ref.hxx>
+#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
#include <vcl/settings.hxx>
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index bc68a44329a1..88049ce4d914 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -37,7 +37,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::beans;
namespace svx
{
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx
index aa1976335718..80cccf7e51d9 100644
--- a/svx/source/unodraw/unopool.cxx
+++ b/svx/source/unodraw/unopool.cxx
@@ -34,6 +34,7 @@
#include <svx/unopage.hxx>
#include <svx/svdetc.hxx>
#include <editeng/editeng.hxx>
+#include <tools/debug.hxx>
#include <svx/unoapi.hxx>
#include <memory>
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 9b9f28944771..be113900d941 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -22,6 +22,7 @@
#include <comphelper/base64.hxx>
#include <comphelper/graphicmimetype.hxx>
+#include <tools/debug.hxx>
#include <tools/poly.hxx>
#include <vcl/bitmapaccess.hxx>
#include <vcl/virdev.hxx>
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index 13b7ce1c2918..a4ae1c9a368b 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -27,6 +27,7 @@
#include <svx/svdobj.hxx>
#include <svx/svdpool.hxx>
#include <vcl/outdev.hxx>
+#include <tools/debug.hxx>
#include <stack>
using namespace com::sun::star;