diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-10-04 09:07:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-08 12:16:44 +0200 |
commit | 2a962cb122f796aef9a10252ab224f5cd70569cf (patch) | |
tree | df39ffbde5b06911568acf04e09c08cd87a9ac13 /comphelper/source | |
parent | 9b686537f59a63bad05a0cfe7fc5f1096bb7a7c1 (diff) |
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 <vmiklos@collabora.co.uk>
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/container/namecontainer.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/SelectionMultiplex.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/mimeconfighelper.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/namedvaluecollection.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/numberedcollection.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/numbers.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/sequenceashashmap.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/serviceinfohelper.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/solarmutex.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/processfactory/processfactory.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/property/genericpropertyset.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/property/property.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/property/propertybag.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/propertycontainerhelper.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/property/propertysethelper.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/streaming/oslfile2streamwrap.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/streaming/streamsection.cxx | 3 |
17 files changed, 22 insertions, 3 deletions
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 <comphelper/sequence.hxx> #include <cppuhelper/implbase.hxx> #include <osl/mutex.hxx> +#include <com/sun/star/container/XNameContainer.hpp> typedef std::map<OUString, css::uno::Any> 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 <comphelper/SelectionMultiplex.hxx> - +#include <com/sun/star/view/XSelectionSupplier.hpp> 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 <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <com/sun/star/container/XContainerQuery.hpp> +#include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/embed/VerbDescriptor.hpp> #include <com/sun/star/document/XTypeDetection.hpp> #include <osl/diagnose.h> 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 <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/beans/PropertyState.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> #include <rtl/ustrbuf.hxx> #include <rtl/instance.hxx> 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 <algorithm> #include <comphelper/numberedcollection.hxx> #include <com/sun/star/frame/UntitledNumbersConst.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> 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 <osl/diagnose.h> #include <sal/log.hxx> #include <com/sun/star/util/NumberFormat.hpp> +#include <com/sun/star/util/XNumberFormatter.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/Locale.hpp> 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 <sal/config.h> +#include <com/sun/star/beans/NamedValue.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <comphelper/sequenceashashmap.hxx> 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 <comphelper/serviceinfohelper.hxx> - -// ##################################################################### +#include <com/sun/star/uno/Sequence.hxx> 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 <sal/config.h> #include <comphelper/solarmutex.hxx> +#include <osl/thread.hxx> #include <assert.h> #include <cstdlib> 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 <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/DeploymentException.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> 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 <cppuhelper/supportsservice.hxx> #include <comphelper/propertysethelper.hxx> #include <osl/mutex.hxx> +#include <rtl/ref.hxx> #include <comphelper/genericpropertyset.hxx> #include <comphelper/propertysetinfo.hxx> 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 <typeinfo> #endif #include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/uno/genfunc.h> #include <rtl/ustrbuf.hxx> 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 <comphelper/propertybag.hxx> +#include <osl/diagnose.h> #include <com/sun/star/beans/IllegalTypeException.hpp> #include <com/sun/star/beans/PropertyExistException.hpp> @@ -25,6 +26,7 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/NotRemoveableException.hpp> +#include <com/sun/star/beans/UnknownPropertyException.hpp> #include <map> 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 <osl/diagnose.h> #include <uno/data.h> #include <com/sun/star/uno/genfunc.h> +#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/UnknownPropertyException.hpp> #include <rtl/ustrbuf.hxx> 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 <comphelper/propertysetinfo.hxx> #include <comphelper/propertysethelper.hxx> #include <osl/diagnose.h> +#include <rtl/ref.hxx> #include <memory> 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 <com/sun/star/io/BufferSizeExceededException.hpp> #include <com/sun/star/io/NotConnectedException.hpp> #include <comphelper/oslfile2streamwrap.hxx> +#include <osl/file.hxx> #include <algorithm> 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 <comphelper/streamsection.hxx> +#include <com/sun/star/io/XMarkableStream.hpp> +#include <com/sun/star/io/XDataInputStream.hpp> +#include <com/sun/star/io/XDataOutputStream.hpp> #include <osl/diagnose.h> namespace comphelper |