From 5503c8904a735f2b47adc29a1fc6500961c01be6 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 16 Apr 2019 23:16:31 +0200 Subject: tdf#42949 Fix IWYU warnings in sw/qa/* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ia0c79c2455a3b40384332c8c35215671e257a07f Reviewed-on: https://gerrit.libreoffice.org/70847 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/qa/api/SwXDocumentIndex.cxx | 1 - sw/qa/api/SwXDocumentSettings.cxx | 1 - sw/qa/core/Test-BigPtrArray.cxx | 7 ---- sw/qa/core/filters-test.cxx | 6 --- sw/qa/core/macros-test.cxx | 16 -------- sw/qa/core/test_ToxLinkProcessor.cxx | 5 --- sw/qa/core/test_ToxTextGenerator.cxx | 2 - sw/qa/core/test_ToxWhitespaceStripper.cxx | 2 - sw/qa/core/uwriter.cxx | 10 ----- .../accessibility/accessible_relation_set.cxx | 1 - sw/qa/extras/docbookexport/docbookexport.cxx | 6 --- sw/qa/extras/globalfilter/globalfilter.cxx | 2 - sw/qa/extras/htmlexport/htmlexport.cxx | 3 -- sw/qa/extras/htmlexport/xhtmlexport.cxx | 12 ------ sw/qa/extras/htmlimport/htmlimport.cxx | 6 --- sw/qa/extras/inc/bordertest.hxx | 9 ++++- sw/qa/extras/inc/swmodeltestbase.hxx | 9 ----- sw/qa/extras/mailmerge/mailmerge.cxx | 16 +++----- sw/qa/extras/odfexport/odfexport.cxx | 4 +- sw/qa/extras/odfimport/odfimport.cxx | 4 -- sw/qa/extras/ooxmlexport/ooxmlencryption.cxx | 1 - sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 3 +- sw/qa/extras/ooxmlexport/ooxmlexport10.cxx | 17 +------- sw/qa/extras/ooxmlexport/ooxmlexport11.cxx | 16 +------- sw/qa/extras/ooxmlexport/ooxmlexport12.cxx | 47 ---------------------- sw/qa/extras/ooxmlexport/ooxmlexport13.cxx | 7 ---- sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 23 ++--------- sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 26 ------------ sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | 29 +------------ sw/qa/extras/ooxmlexport/ooxmlexport5.cxx | 38 +---------------- sw/qa/extras/ooxmlexport/ooxmlexport6.cxx | 1 - sw/qa/extras/ooxmlexport/ooxmlexport7.cxx | 8 ---- sw/qa/extras/ooxmlexport/ooxmlexport8.cxx | 24 +---------- sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 3 -- sw/qa/extras/ooxmlexport/ooxmlexport_template.cxx | 1 - sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx | 40 ------------------ sw/qa/extras/ooxmlexport/ooxmllinks.cxx | 2 - sw/qa/extras/ooxmlexport/ooxmlw14export.cxx | 2 - sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 8 ---- sw/qa/extras/ooxmlimport/ooxmlimport2.cxx | 3 -- sw/qa/extras/rtfexport/rtfexport2.cxx | 9 ----- sw/qa/extras/rtfexport/rtfexport3.cxx | 6 --- sw/qa/extras/rtfexport/rtfexport4.cxx | 21 ---------- sw/qa/extras/rtfexport/rtfexport5.cxx | 13 ------ sw/qa/extras/rtfimport/rtfimport.cxx | 14 ------- sw/qa/extras/tiledrendering/tiledrendering.cxx | 1 - sw/qa/extras/txtexport/txtexport.cxx | 4 -- sw/qa/extras/uiwriter/uiwriter.cxx | 8 ++-- sw/qa/extras/uiwriter/uiwriter2.cxx | 15 ++----- sw/qa/extras/ww8export/ww8export2.cxx | 4 -- sw/qa/extras/ww8export/ww8export3.cxx | 5 +-- sw/qa/extras/ww8import/ww8import.cxx | 1 - sw/qa/unit/sw-dialogs-test.cxx | 5 +-- sw/qa/unit/sw-dialogs-test_2.cxx | 6 +-- 54 files changed, 38 insertions(+), 495 deletions(-) (limited to 'sw/qa') diff --git a/sw/qa/api/SwXDocumentIndex.cxx b/sw/qa/api/SwXDocumentIndex.cxx index b04ba82875cb..e08eb9c00685 100644 --- a/sw/qa/api/SwXDocumentIndex.cxx +++ b/sw/qa/api/SwXDocumentIndex.cxx @@ -17,7 +17,6 @@ #include #include -#include #include diff --git a/sw/qa/api/SwXDocumentSettings.cxx b/sw/qa/api/SwXDocumentSettings.cxx index 7a2bce7b35e7..dd28bb543553 100644 --- a/sw/qa/api/SwXDocumentSettings.cxx +++ b/sw/qa/api/SwXDocumentSettings.cxx @@ -15,7 +15,6 @@ #include #include -#include #include diff --git a/sw/qa/core/Test-BigPtrArray.cxx b/sw/qa/core/Test-BigPtrArray.cxx index bc033a399d40..ea70a74aaccb 100644 --- a/sw/qa/core/Test-BigPtrArray.cxx +++ b/sw/qa/core/Test-BigPtrArray.cxx @@ -17,20 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include #include #include -#include //#define TIMELOG for measuring performance -#include -#include - #include -#include using namespace std; diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 002b8c45c518..bf265b15388f 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -15,20 +15,14 @@ #include #include #include -#include #include #include #include #include -#include #include -#include -#include #include -#include -#include typedef tools::SvRef SwDocShellRef; diff --git a/sw/qa/core/macros-test.cxx b/sw/qa/core/macros-test.cxx index db544178b194..69b4adea4de0 100644 --- a/sw/qa/core/macros-test.cxx +++ b/sw/qa/core/macros-test.cxx @@ -10,43 +10,27 @@ #include #include #include -#include -#include #include #include #include -#include #include #include #include -#include #include #include #include #include #include #include -#include -#include #include #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include #include #include #include -#include #include #include diff --git a/sw/qa/core/test_ToxLinkProcessor.cxx b/sw/qa/core/test_ToxLinkProcessor.cxx index c4998751a640..01e349a5fea5 100644 --- a/sw/qa/core/test_ToxLinkProcessor.cxx +++ b/sw/qa/core/test_ToxLinkProcessor.cxx @@ -7,8 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include - #include #include @@ -17,12 +15,9 @@ #include #include -#include #include #include -#include -#include using namespace sw; diff --git a/sw/qa/core/test_ToxTextGenerator.cxx b/sw/qa/core/test_ToxTextGenerator.cxx index ffe76233282e..e46e40ab4776 100644 --- a/sw/qa/core/test_ToxTextGenerator.cxx +++ b/sw/qa/core/test_ToxTextGenerator.cxx @@ -9,7 +9,6 @@ #include #include -#include #include #include #include @@ -20,7 +19,6 @@ #include #include #include -#include #include diff --git a/sw/qa/core/test_ToxWhitespaceStripper.cxx b/sw/qa/core/test_ToxWhitespaceStripper.cxx index dc3b23b828aa..430cc78b7686 100644 --- a/sw/qa/core/test_ToxWhitespaceStripper.cxx +++ b/sw/qa/core/test_ToxWhitespaceStripper.cxx @@ -7,8 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include - #include #include diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index c5d179d36e87..0540212e2140 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -8,14 +8,10 @@ */ #include -#include #include #include -#include -#include - #include #include #include @@ -26,10 +22,8 @@ #include #include -#include #include #include -#include #include @@ -44,11 +38,8 @@ #include #include #include -#include #include -#include #include -#include #include #include #include @@ -61,7 +52,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/qa/extras/accessibility/accessible_relation_set.cxx b/sw/qa/extras/accessibility/accessible_relation_set.cxx index 68eb27c17ec1..4808c6a9b20e 100644 --- a/sw/qa/extras/accessibility/accessible_relation_set.cxx +++ b/sw/qa/extras/accessibility/accessible_relation_set.cxx @@ -32,7 +32,6 @@ #include #include #include -#include using namespace com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/qa/extras/docbookexport/docbookexport.cxx b/sw/qa/extras/docbookexport/docbookexport.cxx index 6fa3f66e5a9d..98edee213018 100644 --- a/sw/qa/extras/docbookexport/docbookexport.cxx +++ b/sw/qa/extras/docbookexport/docbookexport.cxx @@ -9,12 +9,6 @@ #include -#include -#include -#include - -#include - class DocbookExportTest : public SwModelTestBase { public: diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx index fd55bc0dc747..e487a07346c2 100644 --- a/sw/qa/extras/globalfilter/globalfilter.cxx +++ b/sw/qa/extras/globalfilter/globalfilter.cxx @@ -21,14 +21,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index 1f016f52409a..842289f1dd44 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -10,13 +10,10 @@ #include #include -#include -#include #include #include #include #include -#include #include #include diff --git a/sw/qa/extras/htmlexport/xhtmlexport.cxx b/sw/qa/extras/htmlexport/xhtmlexport.cxx index af97e6a821fc..d9384e318728 100644 --- a/sw/qa/extras/htmlexport/xhtmlexport.cxx +++ b/sw/qa/extras/htmlexport/xhtmlexport.cxx @@ -10,18 +10,6 @@ #include #include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - #include class XHtmlExportTest : public SwModelTestBase, public HtmlTestTools diff --git a/sw/qa/extras/htmlimport/htmlimport.cxx b/sw/qa/extras/htmlimport/htmlimport.cxx index db046ad6c556..7669cf86431a 100644 --- a/sw/qa/extras/htmlimport/htmlimport.cxx +++ b/sw/qa/extras/htmlimport/htmlimport.cxx @@ -13,13 +13,7 @@ #include #include #include -#include -#include -#include -#include #include -#include -#include #include #include diff --git a/sw/qa/extras/inc/bordertest.hxx b/sw/qa/extras/inc/bordertest.hxx index 160ddbd5db67..b1376ee36530 100644 --- a/sw/qa/extras/inc/bordertest.hxx +++ b/sw/qa/extras/inc/bordertest.hxx @@ -9,10 +9,17 @@ #ifndef INCLUDED_SW_QA_EXTRAS_INC_BORDERTEST_HXX #define INCLUDED_SW_QA_EXTRAS_INC_BORDERTEST_HXX -#include +#include #include #include +#include +#include +#include +#include +#include + +namespace com::sun::star::table { class XCell; } typedef std::map BorderLineMap; typedef std::pair StringBorderPair; diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index b9b6632cea12..2a34875c91fa 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -27,10 +27,6 @@ #include #include #include -#include -#include -#include -#include #include #include @@ -39,17 +35,12 @@ #include #include #include -#include #include -#include #include #include #include #include -#include #include -#include -#include #include #include diff --git a/sw/qa/extras/mailmerge/mailmerge.cxx b/sw/qa/extras/mailmerge/mailmerge.cxx index dae7008f4f12..d4ef29e9e106 100644 --- a/sw/qa/extras/mailmerge/mailmerge.cxx +++ b/sw/qa/extras/mailmerge/mailmerge.cxx @@ -14,27 +14,21 @@ #include -#include -#include -#include -#include -#include #include -#include +#include #include #include #include +#include #include +#include #include #include -#include -#include -#include -#include -#include #include +#include +#include /** * Maps database URIs to the registered database names for quick lookups diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index e08e29403d9d..8348438437a1 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -11,8 +11,6 @@ #include #include -#include - #if !defined(MACOSX) #include #include @@ -26,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -39,6 +36,7 @@ #include #include #include // for SwHiddenTextField::ParseIfFieldDefinition() method call +#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index b9e4f604a960..0679815ba500 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -15,10 +15,7 @@ #include #include #include -#include -#include #include -#include #include #include #include @@ -31,7 +28,6 @@ #include #include #include -#include typedef std::map > AllBordersMap; typedef std::pair > StringSequencePair; diff --git a/sw/qa/extras/ooxmlexport/ooxmlencryption.cxx b/sw/qa/extras/ooxmlexport/ooxmlencryption.cxx index 7ec52f34d0e9..c0d6d2ba95b3 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlencryption.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlencryption.cxx @@ -8,7 +8,6 @@ */ #include -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index 8c548ec15480..23eb22cb8d03 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -20,8 +20,7 @@ #include #include #include -#include -#include + class Test : public SwModelTestBase { public: diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx index dbe64afdc1dd..ebf9577cb499 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx @@ -8,20 +8,18 @@ */ #include -#include #include #include +#include #include #include #include -#include -#include #include #include +#include #include -#include #include #include #include @@ -34,25 +32,17 @@ #include #include #include -#include #include #include #include -#include #include -#include -#include #include #include -#include #include -#include #include #include #include #include -#include -#include #include #include #include @@ -62,9 +52,6 @@ #include #include #include -#include - -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx index f3dea6a8650e..59795ecaf9e1 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx @@ -9,29 +9,17 @@ #include -#include #include #include #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include - - -#include -#include -#include +#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx index 3008ab8186a1..731fcd11cb67 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport12.cxx @@ -7,62 +7,15 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include #include #include -#include -#include -#include #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx index fc747e30b3dc..86b7e69c331d 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx @@ -9,19 +9,12 @@ #include -#include #include #include -#include -#include #include #include #include -#include -#include -#include - #include class Test : public SwModelTestBase diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx index a00179292cc5..6090a0591bf4 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx @@ -10,41 +10,24 @@ #include #include -#include #include -#include #include #include #include #include #include -#include #include #include -#include -#include -#include +// #include // keep for test1Table1Page #include #include #include -#include #include #include -#include -#include -#include -#include +//#include // keep for test1Table1Page +//#include // keep for testTableStylerPrSz #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx index 8d3c4cbd57fd..5a2176aa8253 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx @@ -9,47 +9,21 @@ #include -#include -#include #include -#include -#include #include -#include -#include -#include -#include #include -#include #include -#include #include #include -#include -#include -#include #include #include #include #include -#include -#include -#include #include -#include #include #include -#include -#include -#include -#include -#include -#include -#include #include -#include - #if !defined(_WIN32) class Test : public SwModelTestBase diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx index 329ba7dd6b51..85ecb0cae056 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx @@ -12,43 +12,16 @@ #include #include #include -#include -#include #include -#include -#include -#include #include -#include #include -#include #include -#include #include -#include -#include -#include -#include -#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include +#include #include -#include -#include -#include -#include -#include -#include #include -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx index 0f051740b21f..8e96d05506cd 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx @@ -9,50 +9,16 @@ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include #include -#include -#include -#include -#include -#include #include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include +#include +#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx index 73cb2653bf47..3a546a80d6c4 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx index 734ada046e6a..90ae3b0ca1e9 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx @@ -10,17 +10,9 @@ #include -#include -#include -#include -#include #include -#include -#include #include #include -#include -#include #include #include diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx index 9ab8a3f11731..f798ad98000e 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx @@ -20,52 +20,30 @@ #include #include -#include -#include #include -#include #include -#include #include +#include #include #include -#include #include #include #include #include #include #include -#include -#include #include -#include -#include #include -#include #include #include #include #include #include -#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include -#include #include -#include -#include #include diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index 8696259fe959..bf6de85706b5 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -11,13 +11,10 @@ #include #include -#include #include #include #include -#include #include -#include #include #include #include diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport_template.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport_template.cxx index b25e588c5406..d901af1ed886 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport_template.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport_template.cxx @@ -8,7 +8,6 @@ */ #include -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx index dc5a880a72f8..b5b6b6040216 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx @@ -9,46 +9,6 @@ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - class Test : public SwModelTestBase { public: diff --git a/sw/qa/extras/ooxmlexport/ooxmllinks.cxx b/sw/qa/extras/ooxmlexport/ooxmllinks.cxx index d6b6d39652f3..146497c23957 100644 --- a/sw/qa/extras/ooxmlexport/ooxmllinks.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmllinks.cxx @@ -10,8 +10,6 @@ #include #include #include -#include -#include #include // This file contains tests to check relative/absolute hyperlinks handling diff --git a/sw/qa/extras/ooxmlexport/ooxmlw14export.cxx b/sw/qa/extras/ooxmlexport/ooxmlw14export.cxx index 4633fdaf6300..d6f13dfc55a7 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlw14export.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlw14export.cxx @@ -9,8 +9,6 @@ #include -#include - class Test : public SwModelTestBase { public: diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index eca2260e8f96..53deec97aae0 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -20,14 +20,12 @@ #include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -41,18 +39,12 @@ #include #include #include -#include -#include #include #include #include -#include #include #include #include -#include -#include -#include #include #include #include diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport2.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport2.cxx index 2a2efc42da0b..3df3f1adf8db 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport2.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport2.cxx @@ -7,8 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include - #ifdef MACOSX #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 #include @@ -18,7 +16,6 @@ #include #include -#include #include #include diff --git a/sw/qa/extras/rtfexport/rtfexport2.cxx b/sw/qa/extras/rtfexport/rtfexport2.cxx index e363be008429..282af9bafa97 100644 --- a/sw/qa/extras/rtfexport/rtfexport2.cxx +++ b/sw/qa/extras/rtfexport/rtfexport2.cxx @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -18,33 +17,25 @@ #include #include #include -#include #include #include -#include #include #include #include -#include #include #include #include #include #include #include -#include #include #include -#include #include -#include #include #include #include #include -#include -#include #include #include diff --git a/sw/qa/extras/rtfexport/rtfexport3.cxx b/sw/qa/extras/rtfexport/rtfexport3.cxx index 85336a3ec453..5b7e66f28867 100644 --- a/sw/qa/extras/rtfexport/rtfexport3.cxx +++ b/sw/qa/extras/rtfexport/rtfexport3.cxx @@ -9,14 +9,8 @@ #include -#include -#include -#include #include #include -#include -#include -#include #include class Test : public SwModelTestBase diff --git a/sw/qa/extras/rtfexport/rtfexport4.cxx b/sw/qa/extras/rtfexport/rtfexport4.cxx index 5f327782df6b..f26f558267b2 100644 --- a/sw/qa/extras/rtfexport/rtfexport4.cxx +++ b/sw/qa/extras/rtfexport/rtfexport4.cxx @@ -9,28 +9,7 @@ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include #include /** diff --git a/sw/qa/extras/rtfexport/rtfexport5.cxx b/sw/qa/extras/rtfexport/rtfexport5.cxx index 8e73fa5e2747..7f11ece22fa8 100644 --- a/sw/qa/extras/rtfexport/rtfexport5.cxx +++ b/sw/qa/extras/rtfexport/rtfexport5.cxx @@ -12,9 +12,6 @@ #include #include -#include -#include -#include #include #include #include @@ -26,29 +23,19 @@ #include #include #include -#include #include -#include -#include #include #include #include -#include -#include #include -#include #include #include -#include #include #include -#include #include #include -#include - class Test : public SwModelTestBase { public: diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 8e126203238f..92ef3de21d9d 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -46,20 +46,6 @@ #include #include -namespace com -{ -namespace sun -{ -namespace star -{ -namespace graphic -{ -class XGraphic; -} -} -} -} - class Test : public SwModelTestBase { public: diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index 07ec78c3e542..1b4148893bfe 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/qa/extras/txtexport/txtexport.cxx b/sw/qa/extras/txtexport/txtexport.cxx index d7759ba12ee0..36fa884044c1 100644 --- a/sw/qa/extras/txtexport/txtexport.cxx +++ b/sw/qa/extras/txtexport/txtexport.cxx @@ -9,12 +9,8 @@ #include -#include -#include - #include #include -#include #include class TxtImportTest : public SwModelTestBase diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index c63fc4064685..7dc0ef592a1d 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -42,7 +42,6 @@ #include #include #include -#include #include #include #include @@ -51,6 +50,7 @@ #include #include #include +#include #include #include @@ -62,7 +62,6 @@ #include #include #include -#include #include #include #include @@ -81,10 +80,11 @@ #include #include #include +#include #include +#include #include #include -#include #include #include #include @@ -115,11 +115,11 @@ #include #include #include -#include #include #include #include #include +#include namespace { diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx index 97f7978c20b1..4c58cd743722 100644 --- a/sw/qa/extras/uiwriter/uiwriter2.cxx +++ b/sw/qa/extras/uiwriter/uiwriter2.cxx @@ -8,31 +8,24 @@ */ #include -#include #include #include #include #include #include -#include -#include #include -#include -#include +#include #include #include #include -#include -#include +#include +#include +#include #include -#include -#include #include #include -#include #include #include -#include #include #include diff --git a/sw/qa/extras/ww8export/ww8export2.cxx b/sw/qa/extras/ww8export/ww8export2.cxx index 5419aa42b959..1900d0569a03 100644 --- a/sw/qa/extras/ww8export/ww8export2.cxx +++ b/sw/qa/extras/ww8export/ww8export2.cxx @@ -9,14 +9,12 @@ #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -26,11 +24,9 @@ #include #include -#include #include #include #include -#include class Test : public SwModelTestBase { diff --git a/sw/qa/extras/ww8export/ww8export3.cxx b/sw/qa/extras/ww8export/ww8export3.cxx index b016bb5f3e04..239ce2bcbf2e 100644 --- a/sw/qa/extras/ww8export/ww8export3.cxx +++ b/sw/qa/extras/ww8export/ww8export3.cxx @@ -12,15 +12,12 @@ #include #include #include +#include #include -#include #include #include #include -#include -#include - class Test : public SwModelTestBase { public: diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx index 93c3d88ca8ae..abdc2a335227 100644 --- a/sw/qa/extras/ww8import/ww8import.cxx +++ b/sw/qa/extras/ww8import/ww8import.cxx @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/qa/unit/sw-dialogs-test.cxx b/sw/qa/unit/sw-dialogs-test.cxx index b269739b7232..70584b601803 100644 --- a/sw/qa/unit/sw-dialogs-test.cxx +++ b/sw/qa/unit/sw-dialogs-test.cxx @@ -10,14 +10,11 @@ #include #include #include -#include -#include #include #include -#include #include -#include +class SwAbstractDialogFactory; using namespace ::com::sun::star; diff --git a/sw/qa/unit/sw-dialogs-test_2.cxx b/sw/qa/unit/sw-dialogs-test_2.cxx index 5b4c5fad625d..a925a8e9c615 100644 --- a/sw/qa/unit/sw-dialogs-test_2.cxx +++ b/sw/qa/unit/sw-dialogs-test_2.cxx @@ -10,16 +10,14 @@ #include #include #include -#include -#include #include #include -#include #include -#include #include +class SwAbstractDialogFactory; + using namespace ::com::sun::star; extern "C" { using Fn = SwAbstractDialogFactory * (*)(); } -- cgit