From 2a962cb122f796aef9a10252ab224f5cd70569cf Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Thu, 4 Oct 2018 09:07:36 +0200 Subject: tdf#42949 Fix IWYU warnings in include/comphelper/[m-z]* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I04c5ba277d5b3398c07de6ae66713d977636088d Reviewed-on: https://gerrit.libreoffice.org/61347 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- comphelper/source/container/namecontainer.cxx | 1 + comphelper/source/misc/SelectionMultiplex.cxx | 2 +- comphelper/source/misc/mimeconfighelper.cxx | 2 ++ comphelper/source/misc/namedvaluecollection.cxx | 1 + comphelper/source/misc/numberedcollection.cxx | 1 + comphelper/source/misc/numbers.cxx | 1 + comphelper/source/misc/sequenceashashmap.cxx | 2 ++ comphelper/source/misc/serviceinfohelper.cxx | 3 +-- comphelper/source/misc/solarmutex.cxx | 1 + comphelper/source/processfactory/processfactory.cxx | 1 + comphelper/source/property/genericpropertyset.cxx | 1 + comphelper/source/property/property.cxx | 1 + comphelper/source/property/propertybag.cxx | 2 ++ comphelper/source/property/propertycontainerhelper.cxx | 1 + comphelper/source/property/propertysethelper.cxx | 1 + comphelper/source/streaming/oslfile2streamwrap.cxx | 1 + comphelper/source/streaming/streamsection.cxx | 3 +++ 17 files changed, 22 insertions(+), 3 deletions(-) (limited to 'comphelper/source') diff --git a/comphelper/source/container/namecontainer.cxx b/comphelper/source/container/namecontainer.cxx index 2d7c57ae152e..fa8343c60d49 100644 --- a/comphelper/source/container/namecontainer.cxx +++ b/comphelper/source/container/namecontainer.cxx @@ -25,6 +25,7 @@ #include #include #include +#include typedef std::map SvGenericNameContainerMapImpl; diff --git a/comphelper/source/misc/SelectionMultiplex.cxx b/comphelper/source/misc/SelectionMultiplex.cxx index a0495a69d0cf..f9760a647c42 100644 --- a/comphelper/source/misc/SelectionMultiplex.cxx +++ b/comphelper/source/misc/SelectionMultiplex.cxx @@ -19,7 +19,7 @@ #include - +#include namespace comphelper { diff --git a/comphelper/source/misc/mimeconfighelper.cxx b/comphelper/source/misc/mimeconfighelper.cxx index 8a4b002f7d77..fc55f2c73ed2 100644 --- a/comphelper/source/misc/mimeconfighelper.cxx +++ b/comphelper/source/misc/mimeconfighelper.cxx @@ -20,6 +20,8 @@ #include #include #include +#include +#include #include #include diff --git a/comphelper/source/misc/namedvaluecollection.cxx b/comphelper/source/misc/namedvaluecollection.cxx index 8882ccc2bdad..42ef768d9297 100644 --- a/comphelper/source/misc/namedvaluecollection.cxx +++ b/comphelper/source/misc/namedvaluecollection.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx index 82225761b189..8b742d295cf9 100644 --- a/comphelper/source/misc/numberedcollection.cxx +++ b/comphelper/source/misc/numberedcollection.cxx @@ -20,6 +20,7 @@ #include #include #include +#include namespace comphelper{ diff --git a/comphelper/source/misc/numbers.cxx b/comphelper/source/misc/numbers.cxx index 2068223d3a71..70eb3f4e8df0 100644 --- a/comphelper/source/misc/numbers.cxx +++ b/comphelper/source/misc/numbers.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/comphelper/source/misc/sequenceashashmap.cxx b/comphelper/source/misc/sequenceashashmap.cxx index 93e84139352c..08301f5a8021 100644 --- a/comphelper/source/misc/sequenceashashmap.cxx +++ b/comphelper/source/misc/sequenceashashmap.cxx @@ -19,6 +19,8 @@ #include +#include +#include #include #include diff --git a/comphelper/source/misc/serviceinfohelper.cxx b/comphelper/source/misc/serviceinfohelper.cxx index 8e70ebcc142d..59cb0ea60b2d 100644 --- a/comphelper/source/misc/serviceinfohelper.cxx +++ b/comphelper/source/misc/serviceinfohelper.cxx @@ -19,8 +19,7 @@ #include - -// ##################################################################### +#include namespace comphelper { diff --git a/comphelper/source/misc/solarmutex.cxx b/comphelper/source/misc/solarmutex.cxx index 3af24dadb4c7..3a6b34af1947 100644 --- a/comphelper/source/misc/solarmutex.cxx +++ b/comphelper/source/misc/solarmutex.cxx @@ -20,6 +20,7 @@ #include #include +#include #include #include diff --git a/comphelper/source/processfactory/processfactory.cxx b/comphelper/source/processfactory/processfactory.cxx index f3654a243ca9..1f51fe619016 100644 --- a/comphelper/source/processfactory/processfactory.cxx +++ b/comphelper/source/processfactory/processfactory.cxx @@ -23,6 +23,7 @@ #include #include +#include using namespace ::com::sun::star; using namespace com::sun::star::uno; diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx index 2bb428e9c8c6..aaf94149ce40 100644 --- a/comphelper/source/property/genericpropertyset.cxx +++ b/comphelper/source/property/genericpropertyset.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx index b69ca62c4ac5..54f31dcd83d0 100644 --- a/comphelper/source/property/property.cxx +++ b/comphelper/source/property/property.cxx @@ -31,6 +31,7 @@ #include #endif #include +#include #include #include #include diff --git a/comphelper/source/property/propertybag.cxx b/comphelper/source/property/propertybag.cxx index 027301a4d318..43aeee4276d4 100644 --- a/comphelper/source/property/propertybag.cxx +++ b/comphelper/source/property/propertybag.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include @@ -25,6 +26,7 @@ #include #include #include +#include #include diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx index d2e5ad30afd2..11e3640f9485 100644 --- a/comphelper/source/property/propertycontainerhelper.cxx +++ b/comphelper/source/property/propertycontainerhelper.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/comphelper/source/property/propertysethelper.cxx b/comphelper/source/property/propertysethelper.cxx index b9405ab555bf..1f456c2c00b3 100644 --- a/comphelper/source/property/propertysethelper.cxx +++ b/comphelper/source/property/propertysethelper.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include diff --git a/comphelper/source/streaming/oslfile2streamwrap.cxx b/comphelper/source/streaming/oslfile2streamwrap.cxx index 198ff1ecea12..c69473a60943 100644 --- a/comphelper/source/streaming/oslfile2streamwrap.cxx +++ b/comphelper/source/streaming/oslfile2streamwrap.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include diff --git a/comphelper/source/streaming/streamsection.cxx b/comphelper/source/streaming/streamsection.cxx index f6165c7b059d..b03df8ab785a 100644 --- a/comphelper/source/streaming/streamsection.cxx +++ b/comphelper/source/streaming/streamsection.cxx @@ -18,6 +18,9 @@ */ #include +#include +#include +#include #include namespace comphelper -- cgit v1.2.3