diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-10-02 20:26:00 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-11 11:32:08 +0200 |
commit | 9fc8b685f9dec107ec6df721ebf3844b992fd8b1 (patch) | |
tree | fb3d9db91c8768c5885d5ffcbacf2ac48ca1f069 /embeddedobj/source/commonembedding | |
parent | 48f278705aa1d0e35317dae6c1c8b13f839a14a1 (diff) |
tdf#42949 Fix IWYU warnings in embeddedobj/
Except for test/ which seems to be unused anyway
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I9d0b75dbb260f05390b513be75a4bdd24647c91b
Reviewed-on: https://gerrit.libreoffice.org/80077
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'embeddedobj/source/commonembedding')
8 files changed, 4 insertions, 22 deletions
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx index 16762c9dce85..641253008580 100644 --- a/embeddedobj/source/commonembedding/embedobj.cxx +++ b/embeddedobj/source/commonembedding/embedobj.cxx @@ -18,7 +18,6 @@ */ #include <com/sun/star/embed/EmbedStates.hpp> -#include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EmbedUpdateModes.hpp> #include <com/sun/star/embed/ObjectSaveVetoException.hpp> #include <com/sun/star/embed/StorageWrappedTargetException.hpp> @@ -31,7 +30,6 @@ #include <com/sun/star/awt/XWindowPeer.hpp> #include <com/sun/star/io/IOException.hpp> -#include <com/sun/star/util/XCloseBroadcaster.hpp> #include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/util/XModifiable.hpp> #include <com/sun/star/frame/ModuleManager.hpp> @@ -48,7 +46,6 @@ #include <targetstatecontrol.hxx> #include <commonembobj.hxx> -#include <intercept.hxx> #include "embedobj.hxx" #include <specialobject.hxx> diff --git a/embeddedobj/source/commonembedding/embedobj.hxx b/embeddedobj/source/commonembedding/embedobj.hxx index 1c0de3723c90..6778238d2f59 100644 --- a/embeddedobj/source/commonembedding/embedobj.hxx +++ b/embeddedobj/source/commonembedding/embedobj.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_EMBEDDEDOBJ_SOURCE_COMMONEMBEDDING_EMBEDOBJ_HXX #define INCLUDED_EMBEDDEDOBJ_SOURCE_COMMONEMBEDDING_EMBEDOBJ_HXX +#include <com/sun/star/awt/Rectangle.hpp> + css::awt::Rectangle GetRectangleInterception( const css::awt::Rectangle& aRect1, const css::awt::Rectangle& aRect2 ); #endif // INCLUDED_EMBEDDEDOBJ_SOURCE_COMMONEMBEDDING_EMBEDOBJ_HXX diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx index 557e21e2646a..5947fef7aca0 100644 --- a/embeddedobj/source/commonembedding/miscobj.cxx +++ b/embeddedobj/source/commonembedding/miscobj.cxx @@ -27,15 +27,12 @@ #include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/beans/NamedValue.hpp> -#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/interfacecontainer.h> #include <comphelper/mimeconfighelper.hxx> #include <vcl/svapp.hxx> -#include <closepreventer.hxx> -#include <intercept.hxx> #include "persistence.hxx" using namespace ::com::sun::star; diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index 25c619b5b157..f162dfef5f31 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -21,7 +21,6 @@ #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/document/XStorageBasedDocument.hpp> #include <com/sun/star/embed/EmbedStates.hpp> -#include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EntryInitModes.hpp> #include <com/sun/star/embed/StorageWrappedTargetException.hpp> #include <com/sun/star/embed/WrongStateException.hpp> @@ -37,7 +36,6 @@ #include <com/sun/star/frame/XLoadable.hpp> #include <com/sun/star/frame/XModule.hpp> #include <com/sun/star/lang/NoSupportException.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/util/XModifiable.hpp> diff --git a/embeddedobj/source/commonembedding/persistence.hxx b/embeddedobj/source/commonembedding/persistence.hxx index 655748613eeb..a6ef252629fd 100644 --- a/embeddedobj/source/commonembedding/persistence.hxx +++ b/embeddedobj/source/commonembedding/persistence.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_EMBEDDEDOBJ_SOURCE_COMMONEMBEDDING_PERSISTENCE_HXX #define INCLUDED_EMBEDDEDOBJ_SOURCE_COMMONEMBEDDING_PERSISTENCE_HXX +#include <com/sun/star/beans/PropertyValue.hpp> + css::uno::Sequence< css::beans::PropertyValue > GetValuableArgs_Impl( const css::uno::Sequence< css::beans::PropertyValue >& aMedDescr, bool bCanUseDocumentBaseURL ); diff --git a/embeddedobj/source/commonembedding/register.cxx b/embeddedobj/source/commonembedding/register.cxx index 0ca1676b2de1..adb377544625 100644 --- a/embeddedobj/source/commonembedding/register.cxx +++ b/embeddedobj/source/commonembedding/register.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/registry/XRegistryKey.hpp> -#include <com/sun/star/registry/InvalidRegistryException.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <cppuhelper/factory.hxx> diff --git a/embeddedobj/source/commonembedding/specialobject.cxx b/embeddedobj/source/commonembedding/specialobject.cxx index a1e55d87debe..683fe0aab3f2 100644 --- a/embeddedobj/source/commonembedding/specialobject.cxx +++ b/embeddedobj/source/commonembedding/specialobject.cxx @@ -19,27 +19,17 @@ #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #include <com/sun/star/embed/EmbedStates.hpp> -#include <com/sun/star/embed/EmbedVerbs.hpp> -#include <com/sun/star/embed/EmbedUpdateModes.hpp> #include <com/sun/star/embed/UnreachableStateException.hpp> #include <com/sun/star/embed/WrongStateException.hpp> -#include <com/sun/star/embed/XEmbeddedClient.hpp> -#include <com/sun/star/embed/XInplaceClient.hpp> -#include <com/sun/star/embed/XWindowSupplier.hpp> #include <com/sun/star/embed/Aspects.hpp> -#include <com/sun/star/awt/XWindowPeer.hpp> -#include <com/sun/star/util/XCloseBroadcaster.hpp> #include <com/sun/star/util/XCloseable.hpp> -#include <com/sun/star/util/XModifiable.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/embed/EmbedMapUnits.hpp> #include <cppuhelper/queryinterface.hxx> -#include <cppuhelper/typeprovider.hxx> #include <osl/diagnose.h> #include <specialobject.hxx> -#include <intercept.hxx> using namespace ::com::sun::star; diff --git a/embeddedobj/source/commonembedding/xfactory.cxx b/embeddedobj/source/commonembedding/xfactory.cxx index e5b855fa80b9..47ea271c7ca9 100644 --- a/embeddedobj/source/commonembedding/xfactory.cxx +++ b/embeddedobj/source/commonembedding/xfactory.cxx @@ -19,7 +19,6 @@ #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/EntryInitModes.hpp> -#include <com/sun/star/document/XTypeDetection.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/NamedValue.hpp> @@ -32,7 +31,6 @@ #include "xfactory.hxx" #include <commonembobj.hxx> #include <specialobject.hxx> -#include <oleembobj.hxx> using namespace ::com::sun::star; |