Kaydet (Commit) c3c620c8 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

tdf#42949 Fix IWYU warnings in: animations/ eventattacher/ i18nutil/

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I23a6d485ee1ca0bc3801bcc1a6d748b8ed2b490c
Reviewed-on: https://gerrit.libreoffice.org/72634
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst e061e0fc
---
assumeFilename: animations/source/animcore/animcore.cxx
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XTypeProvider.hpp>
...@@ -44,7 +43,6 @@ ...@@ -44,7 +43,6 @@
#include <com/sun/star/presentation/ShapeAnimationSubType.hpp> #include <com/sun/star/presentation/ShapeAnimationSubType.hpp>
#include <com/sun/star/container/ElementExistException.hpp> #include <com/sun/star/container/ElementExistException.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/util/XChangesNotifier.hpp> #include <com/sun/star/util/XChangesNotifier.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp>
#include <comphelper/servicehelper.hxx> #include <comphelper/servicehelper.hxx>
...@@ -62,6 +60,9 @@ ...@@ -62,6 +60,9 @@
#include <algorithm> #include <algorithm>
#include <string.h> #include <string.h>
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::beans { struct NamedValue; }
using ::osl::Mutex; using ::osl::Mutex;
using ::osl::Guard; using ::osl::Guard;
using ::comphelper::OInterfaceContainerHelper2; using ::comphelper::OInterfaceContainerHelper2;
......
---
assumeFilename: eventattacher/source/eventattacher.cxx
...@@ -19,9 +19,7 @@ ...@@ -19,9 +19,7 @@
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp> #include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/beans/IntrospectionException.hpp> #include <com/sun/star/beans/IntrospectionException.hpp>
#include <com/sun/star/beans/theIntrospection.hpp> #include <com/sun/star/beans/theIntrospection.hpp>
#include <com/sun/star/beans/MethodConcept.hpp> #include <com/sun/star/beans/MethodConcept.hpp>
...@@ -43,6 +41,8 @@ ...@@ -43,6 +41,8 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
namespace com::sun::star::lang { class XMultiServiceFactory; }
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
using namespace com::sun::star::registry; using namespace com::sun::star::registry;
using namespace com::sun::star::lang; using namespace com::sun::star::lang;
......
---
assumeFilename: i18nutil/source/utility/paper.cxx
...@@ -27,14 +27,12 @@ ...@@ -27,14 +27,12 @@
#include <i18nutil/paper.hxx> #include <i18nutil/paper.hxx>
#include <utility>
#include <cstdlib> #include <cstdlib>
#include <unotools/configmgr.hxx> #include <unotools/configmgr.hxx>
#include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/Locale.hpp>
#ifdef UNX #ifdef UNX
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <locale.h> #include <locale.h>
#if defined(LC_PAPER) && defined(_GNU_SOURCE) #if defined(LC_PAPER) && defined(_GNU_SOURCE)
#include <langinfo.h> #include <langinfo.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include <com/sun/star/i18n/UnicodeType.hpp> #include <com/sun/star/i18n/UnicodeType.hpp>
#include <com/sun/star/i18n/KCharacterType.hpp>
#include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/ScriptType.hpp>
#include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/languagetagicu.hxx> #include <i18nlangtag/languagetagicu.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment