summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-05-26 21:07:23 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-05-27 09:06:33 +0200
commit6d0eba11f7b859303759af97c6fbc417fd2c5a9f (patch)
tree6312f1a239648145d196ee0561a1ae983e425036 /sw
parent0a7341c26741f16835c9062c309e7d3a7fca8209 (diff)
Remove some unused includes
Change-Id: Id5a31185faf2a3a13b6ea266e058a7df41d44423 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94890 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/IwyuFilter_sw.yaml6
-rw-r--r--sw/qa/core/frmedt/frmedt.cxx1
-rw-r--r--sw/qa/core/objectpositioning/objectpositioning.cxx11
-rw-r--r--sw/qa/core/txtnode/txtnode.cxx11
-rw-r--r--sw/qa/uibase/dochdl/dochdl.cxx14
5 files changed, 6 insertions, 37 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 860950e24c04..be357a95d7c0 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -742,3 +742,9 @@ blacklist:
sw/source/ui/vba/vbatabstops.cxx:
# Actually needed
- com/sun/star/beans/XPropertySet.hpp
+ sw/source/filter/rtf/swparrtf.cxx:
+ - com/sun/star/frame/XModel.hpp
+ sw/source/filter/ww8/docxtablestyleexport.cxx:
+ - com/sun/star/frame/XModel.hpp
+ sw/source/filter/ww8/rtfexport.cxx:
+ - com/sun/star/frame/XModel.hpp
diff --git a/sw/qa/core/frmedt/frmedt.cxx b/sw/qa/core/frmedt/frmedt.cxx
index 87d482eaa09e..c737187887c9 100644
--- a/sw/qa/core/frmedt/frmedt.cxx
+++ b/sw/qa/core/frmedt/frmedt.cxx
@@ -19,7 +19,6 @@
#include <drawdoc.hxx>
#include <dcontact.hxx>
#include <frameformats.hxx>
-#include <pagefrm.hxx>
static char const DATA_DIRECTORY[] = "/sw/qa/core/frmedt/data/";
diff --git a/sw/qa/core/objectpositioning/objectpositioning.cxx b/sw/qa/core/objectpositioning/objectpositioning.cxx
index a000f1c80634..d0431764b5ba 100644
--- a/sw/qa/core/objectpositioning/objectpositioning.cxx
+++ b/sw/qa/core/objectpositioning/objectpositioning.cxx
@@ -11,18 +11,7 @@
#include <com/sun/star/text/VertOrientation.hpp>
-#include <comphelper/classids.hxx>
-#include <svtools/embedhlp.hxx>
-#include <svx/svdpage.hxx>
-#include <tools/globname.hxx>
-#include <unotest/bootstrapfixturebase.hxx>
-#include <vcl/gdimtf.hxx>
-
#include <wrtsh.hxx>
-#include <fmtanchr.hxx>
-#include <IDocumentDrawModelAccess.hxx>
-#include <drawdoc.hxx>
-#include <dcontact.hxx>
static char const DATA_DIRECTORY[] = "/sw/qa/core/objectpositioning/data/";
diff --git a/sw/qa/core/txtnode/txtnode.cxx b/sw/qa/core/txtnode/txtnode.cxx
index c51bdefcfb42..0638fe742ff3 100644
--- a/sw/qa/core/txtnode/txtnode.cxx
+++ b/sw/qa/core/txtnode/txtnode.cxx
@@ -9,19 +9,8 @@
#include <swmodeltestbase.hxx>
-#include <comphelper/classids.hxx>
-#include <svtools/embedhlp.hxx>
-#include <svx/svdpage.hxx>
-#include <tools/globname.hxx>
-#include <unotest/bootstrapfixturebase.hxx>
#include <vcl/gdimtf.hxx>
-#include <wrtsh.hxx>
-#include <fmtanchr.hxx>
-#include <IDocumentDrawModelAccess.hxx>
-#include <drawdoc.hxx>
-#include <dcontact.hxx>
-
static char const DATA_DIRECTORY[] = "/sw/qa/core/txtnode/data/";
/// Covers sw/source/core/txtnode/ fixes.
diff --git a/sw/qa/uibase/dochdl/dochdl.cxx b/sw/qa/uibase/dochdl/dochdl.cxx
index 07e50a78df36..26f8fe502e50 100644
--- a/sw/qa/uibase/dochdl/dochdl.cxx
+++ b/sw/qa/uibase/dochdl/dochdl.cxx
@@ -9,23 +9,9 @@
#include <swmodeltestbase.hxx>
-#include <sfx2/dispatch.hxx>
-#include <sfx2/viewfrm.hxx>
-#include <vcl/GraphicObject.hxx>
-#include <svx/svdpage.hxx>
-#include <editeng/eeitem.hxx>
-#include <editeng/adjustitem.hxx>
-#include <editeng/outlobj.hxx>
-#include <editeng/editobj.hxx>
#include <vcl/transfer.hxx>
-#include <IDocumentContentOperations.hxx>
-#include <cmdid.h>
-#include <fmtanchr.hxx>
-#include <view.hxx>
#include <wrtsh.hxx>
-#include <IDocumentDrawModelAccess.hxx>
-#include <drawdoc.hxx>
#include <swdtflvr.hxx>
/// Covers sw/source/uibase/dochdl/ fixes.