From d402e4552e7d8c7cfda60ed3f0c7e11a856a70f4 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 16 Sep 2020 21:01:17 +0200 Subject: [PATCH] Remove some unused includes Change-Id: I4a357ee2c542884149d7460bf2be66e5863fbaed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102882 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- desktop/IwyuFilter_desktop.yaml | 1 + desktop/source/app/app.cxx | 3 --- desktop/source/lib/init.cxx | 2 -- desktop/source/migration/migration.cxx | 1 - desktop/source/offacc/acceptor.cxx | 3 --- xmlsecurity/IwyuFilter_xmlsecurity.yaml | 2 ++ xmlsecurity/source/pdfio/pdfdocument.cxx | 1 - 7 files changed, 3 insertions(+), 10 deletions(-) diff --git a/desktop/IwyuFilter_desktop.yaml b/desktop/IwyuFilter_desktop.yaml index 6207be5de48e..0729ec1c7e89 100644 --- a/desktop/IwyuFilter_desktop.yaml +++ b/desktop/IwyuFilter_desktop.yaml @@ -10,6 +10,7 @@ excludelist: desktop/qa/desktop_lib/test_desktop_lib.cxx: # Actually used - comphelper/scopeguard.hxx + - rtl/math.hxx desktop/source/app/app.cxx: # Needed on WIN32 - o3tl/char16_t2wchar_t.hxx diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 8c020c486798..6e067efad529 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -45,7 +45,6 @@ #include #include #include -#include #include #include #include @@ -53,8 +52,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index ea8567f6493a..681ac3b12488 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -92,7 +92,6 @@ #include #include -#include #include #include #include @@ -136,7 +135,6 @@ #include #include #include -#include #include #include #include diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 0db171114467..297d13e8af20 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -51,7 +51,6 @@ #include #include #include -#include #include #include #include diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index 3380cb277103..7697c18b422f 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -23,9 +23,6 @@ #include #include #include -#include -#include -#include #include #include #include diff --git a/xmlsecurity/IwyuFilter_xmlsecurity.yaml b/xmlsecurity/IwyuFilter_xmlsecurity.yaml index 2ee6d253f0a7..d661c39a39f6 100644 --- a/xmlsecurity/IwyuFilter_xmlsecurity.yaml +++ b/xmlsecurity/IwyuFilter_xmlsecurity.yaml @@ -130,3 +130,5 @@ excludelist: xmlsecurity/qa/unit/signing/signing.cxx: # Don't replace URE header with impl. detail - osl/thread.hxx + xmlsecurity/workben/pdfverify.cxx: + - comphelper/scopeguard.hxx diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx index e7a25d821b9a..8561c481170b 100644 --- a/xmlsecurity/source/pdfio/pdfdocument.cxx +++ b/xmlsecurity/source/pdfio/pdfdocument.cxx @@ -23,7 +23,6 @@ #include #include #include -#include using namespace com::sun::star;