diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-11-09 08:00:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-10 14:13:14 +0100 |
commit | 877f40ac3f2add2b6dc37bae280d4d98dd102286 (patch) | |
tree | ef0c12a289f076e0b9a9b76aaf32365a89e6acfc /i18npool | |
parent | da5e0c7fb19cb35cf5532d18e7eea166720f2e08 (diff) |
tdf#42949 Fix new IWYU warnings in directories [h-r]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I886b6f446293d3b1cfbf4ae05e8dbd7fabab9f20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105510
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/IwyuFilter_i18npool.yaml | 6 | ||||
-rw-r--r-- | i18npool/qa/cppunit/test_breakiterator.cxx | 3 | ||||
-rw-r--r-- | i18npool/source/breakiterator/breakiteratorImpl.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_th.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/calendar/calendarImpl.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/collator/collatorImpl.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/localedata/LocaleNode.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 3 |
10 files changed, 6 insertions, 15 deletions
diff --git a/i18npool/IwyuFilter_i18npool.yaml b/i18npool/IwyuFilter_i18npool.yaml index 96213ac25dcf..ca60fcf746a6 100644 --- a/i18npool/IwyuFilter_i18npool.yaml +++ b/i18npool/IwyuFilter_i18npool.yaml @@ -94,6 +94,12 @@ excludelist: - config_folders.h - osl/file.h - rtl/bootstrap.hxx + i18npool/source/calendar/calendar_gregorian.cxx: + # Needed for rtl::math::round + - rtl/math.hxx i18npool/source/collator/collator_unicode.cxx: # Config options are used in #ifdef - config_locales.h + i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx: + # Actually used + - com/sun/star/beans/PropertyValue.hpp diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx index 3be0ea4e8d0d..36f145e79958 100644 --- a/i18npool/qa/cppunit/test_breakiterator.cxx +++ b/i18npool/qa/cppunit/test_breakiterator.cxx @@ -11,13 +11,10 @@ #include <com/sun/star/i18n/CharacterIteratorMode.hpp> #include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/WordType.hpp> -#include <o3tl/cppunittraitshelper.hxx> #include <unotest/bootstrapfixturebase.hxx> #include <unicode/uvernum.h> -#include <rtl/strbuf.hxx> - #include <string.h> #include <stack> diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx index 8e3ef73688ba..11149be7558f 100644 --- a/i18npool/source/breakiterator/breakiteratorImpl.cxx +++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx @@ -22,7 +22,6 @@ #include <cppuhelper/supportsservice.hxx> #include <unicode/uchar.h> #include <i18nutil/unicode.hxx> -#include <rtl/ustrbuf.hxx> #include <com/sun/star/i18n/CharType.hpp> #include <com/sun/star/i18n/ScriptType.hpp> diff --git a/i18npool/source/breakiterator/breakiterator_th.cxx b/i18npool/source/breakiterator/breakiterator_th.cxx index 218f8b69ec1f..659a50e44e70 100644 --- a/i18npool/source/breakiterator/breakiterator_th.cxx +++ b/i18npool/source/breakiterator/breakiterator_th.cxx @@ -23,8 +23,6 @@ #include <breakiterator_th.hxx> #include <wtt.h> -#include <string.h> - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::i18n; diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index e8d732c882b2..947a23c5073b 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -22,7 +22,6 @@ #include <osl/file.h> #include <osl/module.h> #include <osl/mutex.hxx> -#include <rtl/ustrbuf.hxx> #include <rtl/bootstrap.hxx> #include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/WordType.hpp> diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx index f2959f0b3d46..c3ac0d54460a 100644 --- a/i18npool/source/calendar/calendarImpl.cxx +++ b/i18npool/source/calendar/calendarImpl.cxx @@ -21,7 +21,6 @@ #include <calendar_gregorian.hxx> #include <localedata.hxx> #include <comphelper/processfactory.hxx> -#include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/i18npool/source/collator/collatorImpl.cxx b/i18npool/source/collator/collatorImpl.cxx index 450e57ad6038..3253b458159f 100644 --- a/i18npool/source/collator/collatorImpl.cxx +++ b/i18npool/source/collator/collatorImpl.cxx @@ -21,7 +21,6 @@ #include <localedata.hxx> #include <com/sun/star/i18n/CollatorOptions.hpp> #include <com/sun/star/i18n/LocaleData2.hpp> -#include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> #include <numeric> diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index adc7669e6bdd..997355ffab4e 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -21,7 +21,6 @@ #include <string.h> #include <algorithm> #include <memory> -#include <set> #include <vector> #include <o3tl/sorted_vector.hxx> diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 076c12767136..ac4950741129 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -28,10 +28,8 @@ #include <localedata.hxx> #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> -#include <string.h> #include <rtl/instance.hxx> #include <sal/macros.h> diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index abeceb993b06..8c9e802a7d71 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -19,8 +19,6 @@ #include "textsearch.hxx" #include "levdis.hxx" -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <comphelper/processfactory.hxx> #include <com/sun/star/i18n/BreakIterator.hpp> #include <com/sun/star/util/SearchAlgorithms2.hpp> #include <com/sun/star/util/SearchFlags.hpp> @@ -30,7 +28,6 @@ #include <com/sun/star/i18n/CharacterClassification.hpp> #include <com/sun/star/i18n/KCharacterType.hpp> #include <com/sun/star/i18n/Transliteration.hpp> -#include <cppuhelper/factory.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> #include <i18nutil/transliteration.hxx> |