[Libreoffice-commits] core.git: desktop/IwyuFilter_desktop.yaml desktop/source xmlsecurity/IwyuFilter_xmlsecurity.yaml xmlsecurity/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 17 06:52:32 UTC 2020


 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(-)

New commits:
commit d402e4552e7d8c7cfda60ed3f0c7e11a856a70f4
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Sep 16 21:01:17 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Sep 17 08:51:54 2020 +0200

    Remove some unused includes
    
    Change-Id: I4a357ee2c542884149d7460bf2be66e5863fbaed
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102882
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

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 <framework/desktop.hxx>
 #include <i18nlangtag/languagetag.hxx>
 #include <o3tl/char16_t2wchar_t.hxx>
-#include <o3tl/runtimetooustring.hxx>
 #include <svl/languageoptions.hxx>
 #include <svtools/javacontext.hxx>
 #include <com/sun/star/beans/XPropertySet.hpp>
@@ -53,8 +52,6 @@
 #include <com/sun/star/frame/theGlobalEventBroadcaster.hpp>
 #include <com/sun/star/frame/SessionListener.hpp>
 #include <com/sun/star/frame/XSynchronousDispatch.hpp>
-#include <com/sun/star/document/CorruptedFilterConfigurationException.hpp>
-#include <com/sun/star/configuration/CorruptedConfigurationException.hpp>
 #include <com/sun/star/configuration/theDefaultProvider.hpp>
 #include <com/sun/star/util/XFlushable.hpp>
 #include <com/sun/star/system/SystemShellExecuteFlags.hpp>
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 <com/sun/star/linguistic2/LinguServiceManager.hpp>
 #include <com/sun/star/linguistic2/XSpellChecker.hpp>
-#include <com/sun/star/i18n/Calendar2.hpp>
 #include <com/sun/star/i18n/LocaleCalendar2.hpp>
 #include <com/sun/star/i18n/ScriptType.hpp>
 #include <com/sun/star/lang/DisposedException.hpp>
@@ -136,7 +135,6 @@
 #include <vcl/ITiledRenderable.hxx>
 #include <vcl/dialoghelper.hxx>
 #include <unicode/uchar.h>
-#include <unotools/configmgr.hxx>
 #include <unotools/confignode.hxx>
 #include <unotools/syslocaleoptions.hxx>
 #include <unotools/mediadescriptor.hxx>
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 <com/sun/star/embed/FileSystemStorageFactory.hpp>
 #include <com/sun/star/embed/XStorage.hpp>
 #include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
-#include <com/sun/star/frame/theUICommandDescription.hpp>
 #include <com/sun/star/ui/UIConfigurationManager.hpp>
 #include <com/sun/star/ui/XUIConfigurationPersistence.hpp>
 #include <vcl/commandinfoprovider.hxx>
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 <com/sun/star/bridge/BridgeFactory.hpp>
 #include <com/sun/star/connection/Acceptor.hpp>
 #include <com/sun/star/uno/XNamingService.hpp>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include <comphelper/processfactory.hxx>
-#include <cppuhelper/factory.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <sal/log.hxx>
 #include <tools/diagnose_ex.h>
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 <svl/sigstruct.hxx>
 #include <svl/cryptosign.hxx>
 #include <vcl/filter/pdfdocument.hxx>
-#include <vcl/bitmap.hxx>
 
 using namespace com::sun::star;
 


More information about the Libreoffice-commits mailing list