[Libreoffice-commits] core.git: animations/IwyuFilter_animations.yaml animations/source eventattacher/IwyuFilter_eventattacher.yaml eventattacher/source i18nutil/IwyuFilter_i18nutil.yaml i18nutil/source
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Thu May 23 07:07:20 UTC 2019
animations/IwyuFilter_animations.yaml | 2 ++
animations/source/animcore/animcore.cxx | 5 +++--
eventattacher/IwyuFilter_eventattacher.yaml | 2 ++
eventattacher/source/eventattacher.cxx | 4 ++--
i18nutil/IwyuFilter_i18nutil.yaml | 2 ++
i18nutil/source/utility/paper.cxx | 2 --
i18nutil/source/utility/unicode.cxx | 1 -
7 files changed, 11 insertions(+), 7 deletions(-)
New commits:
commit c3c620c89d0159629f04642cb665fc8fdff7481e
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Thu May 16 00:23:44 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu May 23 09:06:27 2019 +0200
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: Miklos Vajna <vmiklos at collabora.com>
diff --git a/animations/IwyuFilter_animations.yaml b/animations/IwyuFilter_animations.yaml
new file mode 100644
index 000000000000..68726e459898
--- /dev/null
+++ b/animations/IwyuFilter_animations.yaml
@@ -0,0 +1,2 @@
+---
+assumeFilename: animations/source/animcore/animcore.cxx
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index d5bcb0c21b14..b5a9a174bd7b 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -18,7 +18,6 @@
*/
#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/XServiceInfo.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
@@ -44,7 +43,6 @@
#include <com/sun/star/presentation/ShapeAnimationSubType.hpp>
#include <com/sun/star/container/ElementExistException.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/lang/XUnoTunnel.hpp>
#include <comphelper/servicehelper.hxx>
@@ -62,6 +60,9 @@
#include <algorithm>
#include <string.h>
+namespace com::sun::star::uno { class XComponentContext; }
+namespace com::sun::star::beans { struct NamedValue; }
+
using ::osl::Mutex;
using ::osl::Guard;
using ::comphelper::OInterfaceContainerHelper2;
diff --git a/eventattacher/IwyuFilter_eventattacher.yaml b/eventattacher/IwyuFilter_eventattacher.yaml
new file mode 100644
index 000000000000..2922f0b494c5
--- /dev/null
+++ b/eventattacher/IwyuFilter_eventattacher.yaml
@@ -0,0 +1,2 @@
+---
+assumeFilename: eventattacher/source/eventattacher.cxx
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 2711dd28a01a..6eebdc26a188 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -19,9 +19,7 @@
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
#include <com/sun/star/lang/XServiceInfo.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/registry/XRegistryKey.hpp>
#include <com/sun/star/beans/IntrospectionException.hpp>
#include <com/sun/star/beans/theIntrospection.hpp>
#include <com/sun/star/beans/MethodConcept.hpp>
@@ -43,6 +41,8 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
+namespace com::sun::star::lang { class XMultiServiceFactory; }
+
using namespace com::sun::star::uno;
using namespace com::sun::star::registry;
using namespace com::sun::star::lang;
diff --git a/i18nutil/IwyuFilter_i18nutil.yaml b/i18nutil/IwyuFilter_i18nutil.yaml
new file mode 100644
index 000000000000..7c69af4385c6
--- /dev/null
+++ b/i18nutil/IwyuFilter_i18nutil.yaml
@@ -0,0 +1,2 @@
+---
+assumeFilename: i18nutil/source/utility/paper.cxx
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index 9933ac6fe82f..6b59399e9124 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -27,14 +27,12 @@
#include <i18nutil/paper.hxx>
-#include <utility>
#include <cstdlib>
#include <unotools/configmgr.hxx>
#include <com/sun/star/lang/Locale.hpp>
#ifdef UNX
#include <stdio.h>
-#include <string.h>
#include <locale.h>
#if defined(LC_PAPER) && defined(_GNU_SOURCE)
#include <langinfo.h>
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index ce363acbc4e2..7e0c425368be 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -18,7 +18,6 @@
*/
#include <com/sun/star/i18n/UnicodeType.hpp>
-#include <com/sun/star/i18n/KCharacterType.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/languagetagicu.hxx>
More information about the Libreoffice-commits
mailing list