filter/qa/unit/svg.cxx | 2 ++ include/test/a11y/XAccessibleComponentTester.hxx | 2 -- include/test/a11y/accessibletestbase.hxx | 3 +-- include/test/bootstrapfixture.hxx | 8 -------- include/test/helper/transferable.hxx | 1 - include/test/htmltesttools.hxx | 5 +---- include/test/nanpayload_test.hxx | 2 +- include/test/screenshot_test.hxx | 2 -- include/test/sheet/xdatapilottable.hxx | 2 -- include/test/unoapi_test.hxx | 1 - include/test/xmldocptr.hxx | 2 +- include/test/xmltesttools.hxx | 6 ------ sd/qa/unit/import-tests.cxx | 1 + sd/qa/unit/sdtiledrenderingtest.cxx | 2 ++ sfx2/qa/cppunit/test_misc.cxx | 2 ++ starmath/qa/extras/mmlexport-test.cxx | 2 ++ sw/qa/extras/odfimport/odfimport.cxx | 1 + test/source/htmltesttools.cxx | 2 ++ test/source/screenshot_test.cxx | 1 + test/source/sheet/xdatapilottable.cxx | 2 ++ test/source/unoapi_test.cxx | 1 + test/source/xmltesttools.cxx | 2 ++ writerperfect/qa/unit/EPUBExportTest.cxx | 2 ++ xmlscript/qa/cppunit/test.cxx | 2 ++ xmlsecurity/qa/unit/signing/signing.cxx | 2 ++ xmlsecurity/qa/unit/signing/signing2.cxx | 2 ++ 26 files changed, 30 insertions(+), 30 deletions(-)
New commits: commit 663551c5c48085f2bb9e785c72554b8351c88630 Author: Gabor Kelemen <[email protected]> AuthorDate: Fri Nov 7 23:43:07 2025 +0100 Commit: Gabor Kelemen <[email protected]> CommitDate: Sun Nov 30 18:25:35 2025 +0100 tdf#146619 Run IWYU again on include/test Change-Id: Ia2fe7435e0fbd6185c40655cd6c5ae93d39c7963 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193916 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/filter/qa/unit/svg.cxx b/filter/qa/unit/svg.cxx index 3d8c3a23e015..0faa7a59922e 100644 --- a/filter/qa/unit/svg.cxx +++ b/filter/qa/unit/svg.cxx @@ -25,6 +25,8 @@ #include <unotools/mediadescriptor.hxx> #include <tools/stream.hxx> +#include <libxml/xpathInternals.h> + using namespace ::com::sun::star; /// SVG filter tests. diff --git a/include/test/a11y/XAccessibleComponentTester.hxx b/include/test/a11y/XAccessibleComponentTester.hxx index f290fea0c171..7e6e218e7601 100644 --- a/include/test/a11y/XAccessibleComponentTester.hxx +++ b/include/test/a11y/XAccessibleComponentTester.hxx @@ -25,8 +25,6 @@ #include <com/sun/star/accessibility/XAccessibleComponent.hpp> #include <com/sun/star/accessibility/XAccessibleContext.hpp> -#include <test/a11y/AccessibilityTools.hxx> - class OOO_DLLPUBLIC_TEST XAccessibleComponentTester { private: diff --git a/include/test/a11y/accessibletestbase.hxx b/include/test/a11y/accessibletestbase.hxx index 4c275183e6d2..6201f9f63752 100644 --- a/include/test/a11y/accessibletestbase.hxx +++ b/include/test/a11y/accessibletestbase.hxx @@ -20,13 +20,12 @@ #include <com/sun/star/accessibility/XAccessibleContext.hpp> #include <com/sun/star/awt/XDialog2.hpp> #include <com/sun/star/awt/XWindow.hpp> -#include <com/sun/star/frame/Desktop.hpp> +#include <com/sun/star/frame/XDesktop2.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/uno/Reference.hxx> #include <comphelper/OAccessible.hxx> #include <vcl/ITiledRenderable.hxx> -#include <vcl/window.hxx> #include <rtl/ustring.hxx> #include <test/bootstrapfixture.hxx> diff --git a/include/test/bootstrapfixture.hxx b/include/test/bootstrapfixture.hxx index 449534035eb4..e310cb1948a3 100644 --- a/include/test/bootstrapfixture.hxx +++ b/include/test/bootstrapfixture.hxx @@ -10,17 +10,9 @@ #include <sal/config.h> -#include <rtl/string.hxx> #include <tools/link.hxx> #include <vcl/salctype.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XMultiComponentFactory.hpp> -#include <cppunit/TestAssert.h> -#include <cppunit/TestFixture.h> -#include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> #include <unotest/bootstrapfixturebase.hxx> #include <test/testdllapi.hxx> diff --git a/include/test/helper/transferable.hxx b/include/test/helper/transferable.hxx index d0454bc6e410..118a04746bad 100644 --- a/include/test/helper/transferable.hxx +++ b/include/test/helper/transferable.hxx @@ -9,7 +9,6 @@ #pragma once -#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/datatransfer/XTransferable.hpp> #include <rtl/string.hxx> #include <test/testdllapi.hxx> diff --git a/include/test/htmltesttools.hxx b/include/test/htmltesttools.hxx index d72d43f8c988..8e90355a22f4 100644 --- a/include/test/htmltesttools.hxx +++ b/include/test/htmltesttools.hxx @@ -12,10 +12,7 @@ #include <sal/config.h> #include <test/testdllapi.hxx> -#include <test/xmltesttools.hxx> - -#include <libxml/HTMLparser.h> -#include <libxml/HTMLtree.h> +#include <test/xmldocptr.hxx> #include <unotools/tempfile.hxx> diff --git a/include/test/nanpayload_test.hxx b/include/test/nanpayload_test.hxx index 5229fff1bb90..198ffeb18f9c 100644 --- a/include/test/nanpayload_test.hxx +++ b/include/test/nanpayload_test.hxx @@ -11,7 +11,7 @@ #include <string> #include <sal/config.h> -#include <rtl/math.hxx> +#include <sal/mathconf.h> class NanPayloadTest { diff --git a/include/test/screenshot_test.hxx b/include/test/screenshot_test.hxx index 4eed49db0333..a3082d9f234a 100644 --- a/include/test/screenshot_test.hxx +++ b/include/test/screenshot_test.hxx @@ -13,8 +13,6 @@ #include <sal/config.h> #include <test/bootstrapfixture.hxx> #include <unotest/macros_test.hxx> -#include <com/sun/star/lang/XComponent.hpp> -#include <osl/file.hxx> #include <vcl/vclptr.hxx> #include <vcl/weld.hxx> #include <map> diff --git a/include/test/sheet/xdatapilottable.hxx b/include/test/sheet/xdatapilottable.hxx index 05ba1e293fb8..0675d7b9eb50 100644 --- a/include/test/sheet/xdatapilottable.hxx +++ b/include/test/sheet/xdatapilottable.hxx @@ -14,8 +14,6 @@ #include <com/sun/star/table/XCell.hpp> #include <test/testdllapi.hxx> -#include <cppunit/extensions/HelperMacros.h> - namespace apitest { class OOO_DLLPUBLIC_TEST XDataPilotTable diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx index 2790f531d774..f00cfa5308ac 100644 --- a/include/test/unoapi_test.hxx +++ b/include/test/unoapi_test.hxx @@ -19,7 +19,6 @@ #include <test/testinteractionhandler.hxx> #include <unotest/macros_test.hxx> #include <com/sun/star/lang/XComponent.hpp> -#include <osl/file.hxx> #include <unotools/tempfile.hxx> #include <vcl/filter/PDFiumLibrary.hxx> diff --git a/include/test/xmldocptr.hxx b/include/test/xmldocptr.hxx index bb41ddb9e02b..f1280ef5c6eb 100644 --- a/include/test/xmldocptr.hxx +++ b/include/test/xmldocptr.hxx @@ -9,7 +9,7 @@ #pragma once #include <memory> -#include <libxml/tree.h> +#include <libxml/parser.h> struct xmlDocDeleter { diff --git a/include/test/xmltesttools.hxx b/include/test/xmltesttools.hxx index 3c0e9577ab9b..94f4cf18a816 100644 --- a/include/test/xmltesttools.hxx +++ b/include/test/xmltesttools.hxx @@ -13,11 +13,7 @@ #include <sal/config.h> #include <test/testdllapi.hxx> -#include <libxml/xmlwriter.h> -#include <libxml/tree.h> #include <libxml/xpath.h> -#include <libxml/xpathInternals.h> -#include <libxml/parserInternals.h> #include <rtl/string.hxx> #include <rtl/ustring.hxx> @@ -25,8 +21,6 @@ #include <vcl/mtfxmldump.hxx> #include <test/xmldocptr.hxx> -#include <cppunit/TestAssert.h> - #include <string_view> #include <vector> diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 156bf66f643d..f47bdc1b730c 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -65,6 +65,7 @@ #include <comphelper/scopeguard.hxx> #include <comphelper/sequenceashashmap.hxx> #include <comphelper/lok.hxx> +#include <osl/file.hxx> #include <svx/svdograf.hxx> #include <vcl/filter/PDFiumLibrary.hxx> diff --git a/sd/qa/unit/sdtiledrenderingtest.cxx b/sd/qa/unit/sdtiledrenderingtest.cxx index d28895681a54..b53c421cb8f0 100644 --- a/sd/qa/unit/sdtiledrenderingtest.cxx +++ b/sd/qa/unit/sdtiledrenderingtest.cxx @@ -19,6 +19,8 @@ #include <drawdoc.hxx> #include <unomodel.hxx> +#include <libxml/xmlwriter.h> + using namespace css; SdTiledRenderingTest::SdTiledRenderingTest() diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx index f8fc88722aa7..7c41f990bff9 100644 --- a/sfx2/qa/cppunit/test_misc.cxx +++ b/sfx2/qa/cppunit/test_misc.cxx @@ -44,6 +44,8 @@ #include <sfx2/app.hxx> #include <osl/file.hxx> +#include <libxml/xpathInternals.h> + using namespace ::com::sun::star; namespace { diff --git a/starmath/qa/extras/mmlexport-test.cxx b/starmath/qa/extras/mmlexport-test.cxx index 059ca8a69d7e..7a0f3ac90834 100644 --- a/starmath/qa/extras/mmlexport-test.cxx +++ b/starmath/qa/extras/mmlexport-test.cxx @@ -18,6 +18,8 @@ #include <memory> +#include <libxml/xpathInternals.h> + using namespace ::com::sun::star; class MathMLExportTest : public UnoApiXmlTest diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 0c583d9ed0d0..c3fe3e0242bc 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -62,6 +62,7 @@ #include <expfld.hxx> #if defined(_WIN32) +#include <osl/file.hxx> #include <officecfg/Office/Common.hxx> #include <unotools/securityoptions.hxx> #include <systools/win32/comtools.hxx> diff --git a/test/source/htmltesttools.cxx b/test/source/htmltesttools.cxx index dedda5f98225..8ea3a562a5b5 100644 --- a/test/source/htmltesttools.cxx +++ b/test/source/htmltesttools.cxx @@ -10,6 +10,8 @@ #include <test/htmltesttools.hxx> #include <sal/log.hxx> +#include <libxml/HTMLparser.h> + #include <memory> htmlDocUniquePtr HtmlTestTools::parseHtml(utl::TempFileNamed const & aTempFile) diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index 02fbb7018ee0..d4d84ea538c9 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -16,6 +16,7 @@ #include <com/sun/star/frame/Desktop.hpp> #include <comphelper/processfactory.hxx> #include <o3tl/environment.hxx> +#include <osl/file.hxx> #include <vcl/abstdlg.hxx> #include <vcl/filter/PngImageWriter.hxx> #include <vcl/svapp.hxx> diff --git a/test/source/sheet/xdatapilottable.cxx b/test/source/sheet/xdatapilottable.cxx index 4cfff74ed5c1..76a6ac63623c 100644 --- a/test/source/sheet/xdatapilottable.cxx +++ b/test/source/sheet/xdatapilottable.cxx @@ -11,6 +11,8 @@ #include <com/sun/star/sheet/XDataPilotTable.hpp> #include <com/sun/star/table/CellRangeAddress.hpp> +#include <cppunit/extensions/HelperMacros.h> + using namespace css; using namespace css::uno; diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx index e038d317a2c0..e9c71a12c143 100644 --- a/test/source/unoapi_test.cxx +++ b/test/source/unoapi_test.cxx @@ -15,6 +15,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/propertyvalue.hxx> #include <comphelper/sequence.hxx> +#include <osl/file.hxx> #include <sfx2/app.hxx> #include <sfx2/objsh.hxx> diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx index 97d4fa714f31..aac5425cff55 100644 --- a/test/source/xmltesttools.cxx +++ b/test/source/xmltesttools.cxx @@ -15,6 +15,8 @@ #include <sal/log.hxx> #include <test/cppunitasserthelper.hxx> +#include <libxml/xpathInternals.h> + namespace { OUString convert(xmlChar const * string) { diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx index a9e08bdbed9a..25ef537a4e0a 100644 --- a/writerperfect/qa/unit/EPUBExportTest.cxx +++ b/writerperfect/qa/unit/EPUBExportTest.cxx @@ -29,6 +29,8 @@ #include <unotools/ucbstreamhelper.hxx> #include <o3tl/string_view.hxx> +#include <libxml/xpathInternals.h> + using namespace ::com::sun::star; namespace diff --git a/xmlscript/qa/cppunit/test.cxx b/xmlscript/qa/cppunit/test.cxx index bc5b0bd6570d..102d6653cd38 100644 --- a/xmlscript/qa/cppunit/test.cxx +++ b/xmlscript/qa/cppunit/test.cxx @@ -33,6 +33,8 @@ #include <xmlscript/xml_helper.hxx> #include <cppuhelper/bootstrap.hxx> +#include <libxml/xpathInternals.h> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star; diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx index 4c95b5427cc0..91a0f95b719c 100644 --- a/xmlsecurity/qa/unit/signing/signing.cxx +++ b/xmlsecurity/qa/unit/signing/signing.cxx @@ -60,6 +60,8 @@ #include <vcl/scheduler.hxx> #include <svl/cryptosign.hxx> +#include <libxml/xpathInternals.h> + using namespace com::sun::star; /// Testsuite for the document signing feature. diff --git a/xmlsecurity/qa/unit/signing/signing2.cxx b/xmlsecurity/qa/unit/signing/signing2.cxx index 729c9b8c2230..e37fade87f6a 100644 --- a/xmlsecurity/qa/unit/signing/signing2.cxx +++ b/xmlsecurity/qa/unit/signing/signing2.cxx @@ -31,6 +31,8 @@ #include <unotools/ucbstreamhelper.hxx> #include <comphelper/storagehelper.hxx> +#include <libxml/xpathInternals.h> + using namespace css; /// Testsuite for the document signing feature.
