summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-02-26 21:06:02 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-02-27 09:22:23 +0100
commit5ab55fe807b0f38b488b9bf2571f36401b319ff7 (patch)
treeb5598fd0d2854b74898183a3ea984ff79ce84494
parente57f72d8fc81762860b4579df92db264e8d710ef (diff)
Remove some unused includes
Change-Id: Icca5eeb6c8974e0422bebd93bc017a2d3f270e94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89592 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--sw/IwyuFilter_sw.yaml1
-rw-r--r--sw/qa/core/doc/doc.cxx1
-rw-r--r--sw/qa/core/layout/layout.cxx6
-rw-r--r--sw/qa/extras/layout/layout.cxx2
-rw-r--r--sw/qa/extras/uiwriter/uiwriter2.cxx2
-rw-r--r--sw/qa/uibase/shells/shells.cxx2
6 files changed, 1 insertions, 13 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index c0596000c2f2..2c37782198f3 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -436,6 +436,7 @@ blacklist:
- osl/endian.h
sw/qa/extras/layout/layout.cxx:
- comphelper/scopeguard.hxx
+ - com/sun/star/linguistic2/LinguServiceManager.hpp
sw/source/core/doc/DocumentFieldsManager.cxx:
# Actually used
- comphelper/scopeguard.hxx
diff --git a/sw/qa/core/doc/doc.cxx b/sw/qa/core/doc/doc.cxx
index 3141c12011cc..1879e326fb9f 100644
--- a/sw/qa/core/doc/doc.cxx
+++ b/sw/qa/core/doc/doc.cxx
@@ -9,7 +9,6 @@
#include <swmodeltestbase.hxx>
-#include <vcl/gdimtf.hxx>
#include <comphelper/classids.hxx>
#include <tools/globname.hxx>
#include <svtools/embedhlp.hxx>
diff --git a/sw/qa/core/layout/layout.cxx b/sw/qa/core/layout/layout.cxx
index 4c16a3bbcd97..b957be87590f 100644
--- a/sw/qa/core/layout/layout.cxx
+++ b/sw/qa/core/layout/layout.cxx
@@ -10,12 +10,6 @@
#include <swmodeltestbase.hxx>
#include <vcl/gdimtf.hxx>
-#include <comphelper/classids.hxx>
-#include <tools/globname.hxx>
-#include <svtools/embedhlp.hxx>
-
-#include <wrtsh.hxx>
-#include <fmtanchr.hxx>
static char const DATA_DIRECTORY[] = "/sw/qa/core/layout/data/";
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index ebe20230b400..9e153c86e7b5 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -8,10 +8,8 @@
*/
#include <swmodeltestbase.hxx>
-#include <unotest/bootstrapfixturebase.hxx>
#include <comphelper/propertysequence.hxx>
#include <com/sun/star/linguistic2/LinguServiceManager.hpp>
-#include <com/sun/star/frame/DispatchHelper.hpp>
#include <com/sun/star/text/WrapTextMode.hpp>
#include <comphelper/scopeguard.hxx>
#include <unotools/syslocaleoptions.hxx>
diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx
index 4a9898fc31d1..a9a8f708496b 100644
--- a/sw/qa/extras/uiwriter/uiwriter2.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter2.cxx
@@ -14,7 +14,6 @@
#include <boost/property_tree/json_parser.hpp>
#include <com/sun/star/awt/FontWeight.hpp>
-#include <com/sun/star/frame/DispatchHelper.hpp>
#include <com/sun/star/style/LineSpacing.hpp>
#include <com/sun/star/text/TableColumnSeparator.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
@@ -38,7 +37,6 @@
#include <sfx2/viewfrm.hxx>
#include <sfx2/dispatch.hxx>
#include <svl/stritem.hxx>
-#include <svx/svxids.hrc>
#include <comphelper/lok.hxx>
#include <txtfrm.hxx>
#include <redline.hxx>
diff --git a/sw/qa/uibase/shells/shells.cxx b/sw/qa/uibase/shells/shells.cxx
index 5c9468f3f991..ee39b563cfc9 100644
--- a/sw/qa/uibase/shells/shells.cxx
+++ b/sw/qa/uibase/shells/shells.cxx
@@ -12,9 +12,7 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/GraphicObject.hxx>
-#include <vcl/gdimtf.hxx>
#include <svx/svdpage.hxx>
-#include <svx/svdview.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/outlobj.hxx>