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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 16 07:13:39 UTC 2021


 sfx2/qa/cppunit/doc.cxx      |    2 --
 sw/qa/core/draw/draw.cxx     |    1 -
 sw/qa/core/fields/fields.cxx |    9 +--------
 3 files changed, 1 insertion(+), 11 deletions(-)

New commits:
commit 53782068bd3550336b7dddb7251606222482da3c
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Apr 15 21:03:43 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Apr 16 09:12:59 2021 +0200

    Remove some unused includes
    
    See tdf#42949 for motivation.
    
    Change-Id: Idf7aa9c902b656c05dc7871675c90dae63289815
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114192
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/sfx2/qa/cppunit/doc.cxx b/sfx2/qa/cppunit/doc.cxx
index 058bf4788d67..7e62652b5bbb 100644
--- a/sfx2/qa/cppunit/doc.cxx
+++ b/sfx2/qa/cppunit/doc.cxx
@@ -17,8 +17,6 @@
 #include <comphelper/propertyvalue.hxx>
 #include <sfx2/objsh.hxx>
 #include <sfx2/sfxbasemodel.hxx>
-#include <unotools/tempfile.hxx>
-#include <sfx2/docfile.hxx>
 #include <osl/file.hxx>
 
 using namespace com::sun::star;
diff --git a/sw/qa/core/draw/draw.cxx b/sw/qa/core/draw/draw.cxx
index c4654dde8127..97b6a2bb7d79 100644
--- a/sw/qa/core/draw/draw.cxx
+++ b/sw/qa/core/draw/draw.cxx
@@ -10,7 +10,6 @@
 #include <swmodeltestbase.hxx>
 
 #include <svx/svdpage.hxx>
-#include <vcl/scheduler.hxx>
 
 #include <IDocumentDrawModelAccess.hxx>
 #include <docsh.hxx>
diff --git a/sw/qa/core/fields/fields.cxx b/sw/qa/core/fields/fields.cxx
index 8d82344a24af..74b94d7a3f8e 100644
--- a/sw/qa/core/fields/fields.cxx
+++ b/sw/qa/core/fields/fields.cxx
@@ -9,20 +9,13 @@
 
 #include <swmodeltestbase.hxx>
 
-#include <com/sun/star/style/PageStyleLayout.hpp>
+#include <com/sun/star/text/XTextDocument.hpp>
 
 #include <comphelper/propertyvalue.hxx>
-#include <svx/svdpage.hxx>
-#include <vcl/gdimtf.hxx>
 
-#include <IDocumentDrawModelAccess.hxx>
-#include <IDocumentLayoutAccess.hxx>
-#include <IDocumentState.hxx>
 #include <authfld.hxx>
 #include <docsh.hxx>
-#include <drawdoc.hxx>
 #include <rootfrm.hxx>
-#include <unotxdoc.hxx>
 #include <wrtsh.hxx>
 #include <ndtxt.hxx>
 


More information about the Libreoffice-commits mailing list