[Libreoffice-commits] core.git: sw/IwyuFilter_sw.yaml sw/qa

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Feb 27 08:22:59 UTC 2020


 sw/IwyuFilter_sw.yaml               |    1 +
 sw/qa/core/doc/doc.cxx              |    1 -
 sw/qa/core/layout/layout.cxx        |    6 ------
 sw/qa/extras/layout/layout.cxx      |    2 --
 sw/qa/extras/uiwriter/uiwriter2.cxx |    2 --
 sw/qa/uibase/shells/shells.cxx      |    2 --
 6 files changed, 1 insertion(+), 13 deletions(-)

New commits:
commit 5ab55fe807b0f38b488b9bf2571f36401b319ff7
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Feb 26 21:06:02 2020 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Feb 27 09:22:23 2020 +0100

    Remove some unused includes
    
    Change-Id: Icca5eeb6c8974e0422bebd93bc017a2d3f270e94
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89592
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

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>


More information about the Libreoffice-commits mailing list