summaryrefslogtreecommitdiff
path: root/unotools/source/i18n
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-05-06 23:50:33 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-05-15 09:19:00 +0200
commitea68858c5beb55c7c70c91f8b1f5b6e41fdfce72 (patch)
tree294d2e86764a58b824390eb7c3bc8f88a6f13413 /unotools/source/i18n
parent0efccbc58b41008b03f5b1ecc0a97cfcd1d4eafd (diff)
tdf#42949 Fix IWYU warnings in unotools/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Also recheck include/unotools/* Change-Id: I3b8489aca69fbe80fa4a21748ac3c872d0d266c4 Reviewed-on: https://gerrit.libreoffice.org/71883 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'unotools/source/i18n')
-rw-r--r--unotools/source/i18n/calendarwrapper.cxx2
-rw-r--r--unotools/source/i18n/intlwrapper.cxx1
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx4
-rw-r--r--unotools/source/i18n/resmgr.cxx18
-rw-r--r--unotools/source/i18n/textsearch.cxx1
-rw-r--r--unotools/source/i18n/transliterationwrapper.cxx1
6 files changed, 0 insertions, 27 deletions
diff --git a/unotools/source/i18n/calendarwrapper.cxx b/unotools/source/i18n/calendarwrapper.cxx
index 98e765104a3a..dd58a9d1196d 100644
--- a/unotools/source/i18n/calendarwrapper.cxx
+++ b/unotools/source/i18n/calendarwrapper.cxx
@@ -17,10 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <unotools/calendarwrapper.hxx>
-#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
#include <com/sun/star/i18n/LocaleCalendar2.hpp>
using namespace ::com::sun::star;
diff --git a/unotools/source/i18n/intlwrapper.cxx b/unotools/source/i18n/intlwrapper.cxx
index bded270a5d81..f15869fb6255 100644
--- a/unotools/source/i18n/intlwrapper.cxx
+++ b/unotools/source/i18n/intlwrapper.cxx
@@ -21,7 +21,6 @@
#include <unotools/collatorwrapper.hxx>
#include <unotools/localedatawrapper.hxx>
#include <com/sun/star/i18n/CollatorOptions.hpp>
-#include <i18nlangtag/mslangid.hxx>
#include <comphelper/processfactory.hxx>
IntlWrapper::IntlWrapper(
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index cde0ad16aaee..aa9ce284dfef 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <string.h>
#include <stdio.h>
#include <string>
@@ -26,7 +25,6 @@
#include <unotools/calendarwrapper.hxx>
#include <unotools/digitgroupingiterator.hxx>
#include <tools/debug.hxx>
-#include <tools/solar.h>
#include <i18nlangtag/languagetag.hxx>
#include <com/sun/star/i18n/KNumberFormatUsage.hpp>
@@ -40,8 +38,6 @@
#include <comphelper/processfactory.hxx>
#include <rtl/instance.hxx>
#include <rtl/ustrbuf.hxx>
-#include <osl/diagnose.h>
-#include <sal/macros.h>
#include <rtl/math.hxx>
static const sal_uInt16 nCurrFormatInvalid = 0xffff;
diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx
index 654d3c2fae19..32fb86bdcf02 100644
--- a/unotools/source/i18n/resmgr.cxx
+++ b/unotools/source/i18n/resmgr.cxx
@@ -27,45 +27,27 @@
#define _HAS_AUTO_PTR_ETC 1
#endif
-#include <config_folders.h>
-
#include <sal/config.h>
#include <cassert>
#include <string.h>
#include <stdio.h>
-#include <stdlib.h>
#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID
# include <libintl.h>
#endif
#include <comphelper/lok.hxx>
-#include <tools/debug.hxx>
-#include <tools/stream.hxx>
#include <unotools/resmgr.hxx>
-#include <osl/endian.h>
-#include <osl/process.h>
#include <osl/thread.h>
#include <osl/file.hxx>
-#include <osl/mutex.hxx>
-#include <osl/signal.h>
#include <rtl/crc.h>
-#include <rtl/ustrbuf.hxx>
-#include <rtl/strbuf.hxx>
-#include <sal/log.hxx>
-#include <rtl/instance.hxx>
#include <rtl/bootstrap.hxx>
#include <i18nlangtag/languagetag.hxx>
-#include <i18nlangtag/mslangid.hxx>
#include <boost/locale.hpp>
#include <boost/locale/gnu_gettext.hpp>
-#include <algorithm>
-#include <list>
-#include <set>
-#include <unordered_set>
#include <unordered_map>
#include <memory>
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index bd0f3f9bcb2e..1e27796694f9 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -25,7 +25,6 @@
#include <i18nlangtag/languagetag.hxx>
#include <i18nutil/searchopt.hxx>
#include <i18nutil/transliteration.hxx>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/TextSearch2.hpp>
#include <com/sun/star/util/SearchAlgorithms2.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx
index aa5bb14310d0..f9e70cff0724 100644
--- a/unotools/source/i18n/transliterationwrapper.cxx
+++ b/unotools/source/i18n/transliterationwrapper.cxx
@@ -24,7 +24,6 @@
#include <i18nlangtag/languagetag.hxx>
#include <i18nutil/transliteration.hxx>
-#include <com/sun/star/i18n/TransliterationModulesExtra.hpp>
#include <com/sun/star/i18n/Transliteration.hpp>
using namespace ::com::sun::star::lang;