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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 12 07:49:55 UTC 2021


 sw/qa/extras/layout/layout2.cxx |   38 ++++++--------------------------------
 1 file changed, 6 insertions(+), 32 deletions(-)

New commits:
commit 2fca9476ab3b3e38fb285dcd3b927223e8008b3f
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Aug 11 20:24:44 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Aug 12 09:49:04 2021 +0200

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

diff --git a/sw/qa/extras/layout/layout2.cxx b/sw/qa/extras/layout/layout2.cxx
index 1db5f1e69214..dad0d84ff135 100644
--- a/sw/qa/extras/layout/layout2.cxx
+++ b/sw/qa/extras/layout/layout2.cxx
@@ -8,50 +8,24 @@
  */
 
 #include <swmodeltestbase.hxx>
-#include <comphelper/propertysequence.hxx>
+
+#include <com/sun/star/text/XTextFrame.hpp>
 #include <com/sun/star/linguistic2/XHyphenator.hpp>
-#include <com/sun/star/text/WrapTextMode.hpp>
+
 #include <comphelper/scopeguard.hxx>
 #include <unotools/syslocaleoptions.hxx>
 #include <i18nlangtag/languagetag.hxx>
-#include <vcl/event.hxx>
-#include <vcl/scheduler.hxx>
-#include <editeng/lrspitem.hxx>
-#include <editeng/fontitem.hxx>
-#include <editeng/fhgtitem.hxx>
-#include <editeng/postitem.hxx>
 #include <editeng/unolingu.hxx>
-#include <editeng/outlobj.hxx>
-#include <editeng/editobj.hxx>
-#include <comphelper/sequence.hxx>
-
-#include <fmtfsize.hxx>
-#include <wrtsh.hxx>
-#include <edtwin.hxx>
-#include <view.hxx>
-#include <txtfrm.hxx>
-#include <pagefrm.hxx>
-#include <bodyfrm.hxx>
-#include <sortedobjs.hxx>
-#include <anchoredobject.hxx>
-#include <ndtxt.hxx>
-#include <frmatr.hxx>
-#include <IDocumentSettingAccess.hxx>
-#include <config_features.h>
+#include <svx/svdobj.hxx>
+
 #include <unotxdoc.hxx>
 #include <rootfrm.hxx>
 #include <docsh.hxx>
 #include <IDocumentLayoutAccess.hxx>
-#include <IDocumentDrawModelAccess.hxx>
 #include <textboxhelper.hxx>
-#include <unoframe.hxx>
-#include <drawdoc.hxx>
-#include <svx/svdpage.hxx>
-#include <svx/svdotext.hxx>
-#include <dcontact.hxx>
 #include <frameformats.hxx>
-#include <fmtcntnt.hxx>
 #include <unotextrange.hxx>
+#include <fmtanchr.hxx>
 
 constexpr OUStringLiteral DATA_DIRECTORY = u"/sw/qa/extras/layout/data/";
 


More information about the Libreoffice-commits mailing list