summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-03-07 03:33:53 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-10 09:29:27 +0100
commita11c10a83f6fceae6cfb519725d06f8eaf1013fb (patch)
tree694c89e96bf9657e73bcd2039931f81c81fb713a /svx/source/unodraw
parent74f0105a2c140d078932576b457a327f3d2490a6 (diff)
tdf#42949 Fix IWYU warnings in svx/source/[t-x]*/*cxx
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8d8a3e13932b004678b305f9a6883062854f9201 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90140 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx5
-rw-r--r--svx/source/unodraw/UnoNameItemTable.cxx1
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx2
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx2
-rw-r--r--svx/source/unodraw/gluepts.cxx4
-rw-r--r--svx/source/unodraw/recoveryui.cxx5
-rw-r--r--svx/source/unodraw/unobrushitemhelper.cxx9
-rw-r--r--svx/source/unodraw/unobtabl.cxx7
-rw-r--r--svx/source/unodraw/unodtabl.cxx4
-rw-r--r--svx/source/unodraw/unogtabl.cxx3
-rw-r--r--svx/source/unodraw/unohtabl.cxx3
-rw-r--r--svx/source/unodraw/unomod.cxx3
-rw-r--r--svx/source/unodraw/unomtabl.cxx2
-rw-r--r--svx/source/unodraw/unopage.cxx5
-rw-r--r--svx/source/unodraw/unopool.cxx3
-rw-r--r--svx/source/unodraw/unoprov.cxx7
-rw-r--r--svx/source/unodraw/unoshap2.cxx9
-rw-r--r--svx/source/unodraw/unoshap3.cxx2
-rw-r--r--svx/source/unodraw/unoshap4.cxx14
-rw-r--r--svx/source/unodraw/unoshape.cxx18
-rw-r--r--svx/source/unodraw/unoshcol.cxx3
-rw-r--r--svx/source/unodraw/unoshtxt.cxx3
-rw-r--r--svx/source/unodraw/unottabl.cxx4
23 files changed, 14 insertions, 104 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index 66b1974ffeb9..d178a8477e88 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -45,15 +45,12 @@
#include <vcl/metaact.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
-#include <vcl/FilterConfigItem.hxx>
#include <svl/outstrm.hxx>
#include <sdr/contact/objectcontactofobjlistpainter.hxx>
#include <svx/sdr/contact/viewobjectcontact.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/sdr/contact/displayinfo.hxx>
-#include <svx/sdr/contact/viewcontactofsdrobj.hxx>
#include <editeng/numitem.hxx>
-#include <svx/svdpagv.hxx>
#include <svx/svdograf.hxx>
#include <svx/xoutbmp.hxx>
#include <vcl/graphicfilter.hxx>
@@ -63,8 +60,6 @@
#include <svx/fmview.hxx>
#include <svx/fmmodel.hxx>
#include <svx/unopage.hxx>
-#include <svx/pageitem.hxx>
-#include <editeng/eeitem.hxx>
#include <svx/svdoutl.hxx>
#include <svx/xlineit0.hxx>
#include <editeng/flditem.hxx>
diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx
index 56fe86d489ca..612877880ada 100644
--- a/svx/source/unodraw/UnoNameItemTable.cxx
+++ b/svx/source/unodraw/UnoNameItemTable.cxx
@@ -22,7 +22,6 @@
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
-#include <svl/style.hxx>
#include <comphelper/profilezone.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index d9c196a2dda3..d04006478cda 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -29,14 +29,12 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <svl/itempool.hxx>
-#include <svx/unoapi.hxx>
#include <editeng/xmlcnitm.hxx>
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::lang;
namespace svx
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 884eaa92a8cf..7ebed700dac7 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -36,8 +36,6 @@
#include <svx/xdef.hxx>
#include <svx/unoapi.hxx>
-#include <editeng/unoprnms.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
using namespace com::sun::star;
diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx
index 575c9ecc189a..37b661ac60c5 100644
--- a/svx/source/unodraw/gluepts.cxx
+++ b/svx/source/unodraw/gluepts.cxx
@@ -17,18 +17,18 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/container/XIdentifierContainer.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/drawing/GluePoint2.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <cppuhelper/implbase.hxx>
#include <tools/weakbase.hxx>
-#include <svx/svdmodel.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdglue.hxx>
-#include <svx/svdpage.hxx>
#include "gluepts.hxx"
diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx
index 883cfa77cf1d..56550fd7f433 100644
--- a/svx/source/unodraw/recoveryui.cxx
+++ b/svx/source/unodraw/recoveryui.cxx
@@ -20,11 +20,9 @@
#include <config_folders.h>
#include <docrecovery.hxx>
-#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XSynchronousDispatch.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
#include <cppuhelper/implbase.hxx>
#include <osl/file.hxx>
#include <rtl/bootstrap.hxx>
@@ -32,9 +30,6 @@
#include <cppuhelper/supportsservice.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/window.hxx>
-
-#include <officecfg/Office/Recovery.hxx>
namespace svxdr = svx::DocRecovery;
using namespace ::osl;
diff --git a/svx/source/unodraw/unobrushitemhelper.cxx b/svx/source/unodraw/unobrushitemhelper.cxx
index b8856fdd53b1..f62356026efa 100644
--- a/svx/source/unodraw/unobrushitemhelper.cxx
+++ b/svx/source/unodraw/unobrushitemhelper.cxx
@@ -21,24 +21,19 @@
#include <algorithm>
+#include <osl/diagnose.h>
+#include <svl/itemset.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xbtmpit.hxx>
-#include <svx/xgrscit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflbmpit.hxx>
-#include <svx/xflbmsxy.hxx>
#include <svx/xflftrit.hxx>
-#include <svx/xsflclit.hxx>
-#include <svx/xflbmsli.hxx>
-#include <svx/xflbtoxy.hxx>
#include <svx/xflbstit.hxx>
-#include <svx/xflboxy.hxx>
#include <svx/xflbckit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xflclit.hxx>
#include <svx/xfltrit.hxx>
-#include <svx/unoshape.hxx>
using namespace com::sun::star;
diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx
index 4d9c5ded9bfd..0b3dae21f2d4 100644
--- a/svx/source/unodraw/unobtabl.cxx
+++ b/svx/source/unodraw/unobtabl.cxx
@@ -17,20 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <svl/itempool.hxx>
-#include <vcl/cvtgrf.hxx>
-#include <svl/itemset.hxx>
#include <svx/xit.hxx>
#include "UnoNameItemTable.hxx"
#include <svx/xbtmpit.hxx>
#include <svx/svdmodel.hxx>
-#include <svx/xflhtit.hxx>
-#include <svx/unoapi.hxx>
#include <svx/unomid.hxx>
-#include <editeng/unoprnms.hxx>
#include <svx/unofill.hxx>
-#include <editeng/memberids.h>
#include <com/sun/star/awt/XBitmap.hpp>
using namespace ::com::sun::star;
diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx
index 9cf86c223894..ae2465900d51 100644
--- a/svx/source/unodraw/unodtabl.cxx
+++ b/svx/source/unodraw/unodtabl.cxx
@@ -18,15 +18,11 @@
*/
#include <com/sun/star/drawing/LineDash.hpp>
-#include <svl/itempool.hxx>
-#include <svl/itemset.hxx>
-#include <vector>
#include "UnoNameItemTable.hxx"
#include <svx/xlndsit.hxx>
#include <svx/unomid.hxx>
-#include <svx/xdash.hxx>
#include <svx/svdmodel.hxx>
#include <svx/unofill.hxx>
diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx
index d7b66ef76513..fa46aee4e28a 100644
--- a/svx/source/unodraw/unogtabl.cxx
+++ b/svx/source/unodraw/unogtabl.cxx
@@ -18,11 +18,8 @@
*/
#include <com/sun/star/awt/Gradient.hpp>
-#include <svl/itempool.hxx>
-#include <svl/itemset.hxx>
#include "UnoNameItemTable.hxx"
-#include <svx/xgrad.hxx>
#include <svx/svdmodel.hxx>
#include <svx/xdef.hxx>
#include <svx/xflgrit.hxx>
diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx
index 9adb450007e2..47cf857d08ec 100644
--- a/svx/source/unodraw/unohtabl.cxx
+++ b/svx/source/unodraw/unohtabl.cxx
@@ -18,11 +18,8 @@
*/
#include <com/sun/star/drawing/Hatch.hpp>
-#include <svl/itempool.hxx>
-#include <svl/itemset.hxx>
#include "UnoNameItemTable.hxx"
-#include <svx/xhatch.hxx>
#include <svx/svdmodel.hxx>
#include <svx/xdef.hxx>
#include <svx/xflhtit.hxx>
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 62ce2f181d8d..6cc9a35f90dc 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -25,7 +25,6 @@
#include <com/sun/star/drawing/XShape.hpp>
#include <vcl/svapp.hxx>
#include <svl/itempool.hxx>
-#include <svl/itemprop.hxx>
#include <svtools/unoevent.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -42,8 +41,6 @@
#include <svx/unoapi.hxx>
#include <svx/svdmodel.hxx>
-#include <svx/globl3d.hxx>
-#include <svx/svdtypes.hxx>
#include <svx/unoprov.hxx>
#include <svx/unopage.hxx>
#include <editeng/unofield.hxx>
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index ec1d0d4cbfe1..b930fed67205 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -24,7 +24,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/drawing/PointSequence.hpp>
-#include <svl/style.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase.hxx>
@@ -36,7 +35,6 @@
#include <svx/xlnstit.hxx>
#include <svx/svdmodel.hxx>
#include <svx/xdef.hxx>
-#include <svx/xflhtit.hxx>
#include <vector>
#include <vcl/svapp.hxx>
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index f43a575c5350..e59afceef7cf 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -26,12 +26,11 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <o3tl/safeint.hxx>
#include <osl/mutex.hxx>
-#include <sfx2/dispatch.hxx>
#include <comphelper/classids.hxx>
+#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <sfx2/objsh.hxx>
#include <svx/svdpool.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdoole2.hxx>
@@ -46,9 +45,7 @@
#include <svx/dialmgr.hxx>
#include <svx/globl3d.hxx>
#include <svx/unoprov.hxx>
-#include <svx/svdopath.hxx>
#include <svx/unoapi.hxx>
-#include <svx/svdomeas.hxx>
#include <extrud3d.hxx>
#include <svx/lathe3d.hxx>
#include <svx/scene3d.hxx>
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx
index 865f9fc080b6..ec293ac1bf55 100644
--- a/svx/source/unodraw/unopool.cxx
+++ b/svx/source/unodraw/unopool.cxx
@@ -27,16 +27,13 @@
#include <svx/svdmodel.hxx>
#include <svx/svdpool.hxx>
#include <svx/unoprov.hxx>
-#include <svx/svdobj.hxx>
#include <svx/unoshprp.hxx>
#include <svx/xflbstit.hxx>
#include <svx/xflbmtit.hxx>
-#include <svx/unopage.hxx>
#include <svx/svdetc.hxx>
#include <editeng/editeng.hxx>
#include <tools/debug.hxx>
-#include <svx/unoapi.hxx>
#include <memory>
using namespace ::com::sun::star;
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index 67406c63ba40..50be008cd5a2 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -35,20 +35,13 @@
#include <comphelper/sequence.hxx>
#include <svx/dialmgr.hxx>
#include <svx/unoapi.hxx>
-#include <editeng/unotext.hxx>
#include <svx/unoshprp.hxx>
#include <svx/svx3ditems.hxx>
#include <svx/svxids.hrc>
-#include <editeng/editeng.hxx>
#include <svx/globl3d.hxx>
#include <svx/strings.hrc>
#include <strings.hxx>
-#include <svx/svdpool.hxx>
#include <svx/svdobj.hxx>
-#include <svx/sdtaaitm.hxx>
-#include <svx/sdtacitm.hxx>
-#include <svx/sdtaiitm.hxx>
-#include <svx/sdtayitm.hxx>
#include "shapeimpl.hxx"
#include <unordered_map>
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 48961d3172ef..215e4a4a6f18 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -18,7 +18,6 @@
*/
#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
-#include <com/sun/star/drawing/FlagSequence.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/awt/FontSlant.hpp>
@@ -34,11 +33,7 @@
#include <com/sun/star/drawing/QRCode.hpp>
#include <o3tl/any.hxx>
#include <o3tl/safeint.hxx>
-#include <tools/urlobj.hxx>
#include <vcl/svapp.hxx>
-#include <osl/file.hxx>
-#include <vcl/fltcall.hxx>
-#include <vcl/graphicfilter.hxx>
#include <vcl/wmf.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/GraphicLoader.hxx>
@@ -65,11 +60,9 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <com/sun/star/awt/XBitmap.hpp>
#include <svx/svdograf.hxx>
-#include <sfx2/docfile.hxx>
-#include <sfx2/app.hxx>
-#include <sfx2/fcontnr.hxx>
#include <sal/log.hxx>
#include <cppuhelper/queryinterface.hxx>
+#include <tools/stream.hxx>
#include <memory>
diff --git a/svx/source/unodraw/unoshap3.cxx b/svx/source/unodraw/unoshap3.cxx
index 6c07d975fcf6..a163da88a2fe 100644
--- a/svx/source/unodraw/unoshap3.cxx
+++ b/svx/source/unodraw/unoshap3.cxx
@@ -36,8 +36,6 @@
#include <svx/svditer.hxx>
#include <svx/unoshape.hxx>
#include <svx/unopage.hxx>
-#include <editeng/unoprnms.hxx>
-#include <svx/globl3d.hxx>
#include <svx/cube3d.hxx>
#include <svx/sphere3d.hxx>
#include <svx/lathe3d.hxx>
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 7610f076ff8a..eab0cd5bb111 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -26,36 +26,30 @@
#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
-#include <vcl/virdev.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdomedia.hxx>
#include <svx/svdpool.hxx>
#include <comphelper/classids.hxx>
+#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/exc_hlp.hxx>
-#include <sfx2/frmdescr.hxx>
-#include <vcl/svapp.hxx>
#include <toolkit/helper/vclunohelper.hxx>
-#include <sfx2/objsh.hxx>
-#include <sfx2/docfile.hxx>
-#include <sot/storage.hxx>
#include <sot/exchange.hxx>
-#include <vcl/FilterConfigItem.hxx>
#include <svx/svdmodel.hxx>
#include "shapeimpl.hxx"
#include <svx/unoshprp.hxx>
-#include <svx/unoapi.hxx>
-#include <svx/svdpagv.hxx>
-#include <svx/svdview.hxx>
+#include <vcl/gdimtf.hxx>
#include <vcl/wmf.hxx>
#include <svtools/embedhlp.hxx>
#include <sal/log.hxx>
#include <tools/debug.hxx>
+#include <tools/globname.hxx>
+#include <tools/stream.hxx>
#include <config_features.h>
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 5f395f19b105..080f455c4005 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -17,16 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/drawing/CircleKind.hpp>
-#include <com/sun/star/embed/NoVisualAreaSizeException.hpp>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <vcl/svapp.hxx>
#include <svl/itemprop.hxx>
-#include <vcl/fltcall.hxx>
#include <o3tl/any.hxx>
#include <osl/mutex.hxx>
#include <editeng/unotext.hxx>
@@ -38,36 +35,29 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/virdev.hxx>
-#include <sfx2/objsh.hxx>
-#include <sfx2/viewsh.hxx>
+#include <svx/sdangitm.hxx>
+#include <svx/svdlayer.hxx>
#include <svx/svdopage.hxx>
#include <svx/xflbstit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnedit.hxx>
-#include <svx/svdogrp.hxx>
-#include <svx/scene3d.hxx>
#include <svx/svdmodel.hxx>
#include <svx/globl3d.hxx>
-#include <svx/fmglob.hxx>
#include <svx/unopage.hxx>
-#include <svx/view3d.hxx>
#include <svx/unoshape.hxx>
-#include <svx/svxids.hrc>
#include <svx/unoshtxt.hxx>
#include <svx/svdpage.hxx>
#include <svx/unoshprp.hxx>
-#include <svx/sxciaitm.hxx>
#include <svx/svdograf.hxx>
#include <svx/unoapi.hxx>
#include <svx/svdomeas.hxx>
-#include <svx/svdpagv.hxx>
#include <svx/svdpool.hxx>
#include <tools/stream.hxx>
#include <tools/gen.hxx>
+#include <svx/svdoedge.hxx>
#include <svx/svdocapt.hxx>
#include <svx/obj3d.hxx>
-#include <tools/diagnose_ex.h>
#include <svx/xflftrit.hxx>
#include <svx/xtable.hxx>
#include <svx/xbtmpit.hxx>
@@ -77,7 +67,6 @@
#include <svx/xlineit0.hxx>
#include <svx/xlndsit.hxx>
#include <svx/unomaster.hxx>
-#include <editeng/outlobj.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
@@ -91,6 +80,7 @@
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
+#include <vcl/gdimtf.hxx>
#include <vcl/wmf.hxx>
#include <memory>
diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx
index 75f733028746..b1f3a4f4a10e 100644
--- a/svx/source/unodraw/unoshcol.cxx
+++ b/svx/source/unodraw/unoshcol.cxx
@@ -20,7 +20,6 @@
#include <com/sun/star/document/EventObject.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
-#include <com/sun/star/lang/NoSupportException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -31,8 +30,6 @@
#include <cppuhelper/supportsservice.hxx>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
-#include <rtl/ref.hxx>
-#include <svx/unoprov.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index e1f80f149bad..61fdc3636b74 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -34,7 +34,6 @@
#include <svx/svdoutl.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdview.hxx>
-#include <svx/svdetc.hxx>
#include <editeng/outliner.hxx>
#include <editeng/unoforou.hxx>
#include <editeng/unoviwou.hxx>
@@ -42,14 +41,12 @@
#include <svx/svdotext.hxx>
#include <svx/svdpage.hxx>
#include <editeng/editeng.hxx>
-#include <editeng/editobj.hxx>
#include <editeng/unotext.hxx>
#include <com/sun/star/linguistic2/LinguServiceManager.hpp>
#include <comphelper/processfactory.hxx>
#include <svx/svdotable.hxx>
#include <cell.hxx>
-#include <svx/sdrpaintwindow.hxx>
#include <unotools/configmgr.hxx>
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index 8a9e48437c5c..63ffa7ebe851 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -18,13 +18,9 @@
*/
#include <com/sun/star/awt/Gradient.hpp>
-#include <svl/itempool.hxx>
-#include <svl/itemset.hxx>
-#include <svx/xgrad.hxx>
#include <svx/xflftrit.hxx>
#include <svx/svdmodel.hxx>
-#include <svx/xflhtit.hxx>
#include <svx/unofill.hxx>
#include <svx/unomid.hxx>
#include "UnoNameItemTable.hxx"