diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-10-22 10:19:10 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-11-07 10:04:47 +0100 |
commit | 511061b0d392f238a18a27477148731e3437b5ae (patch) | |
tree | ad208bfba78523f8d7129cf5f93cb6410496b9a7 /include/i18nutil | |
parent | 30bb64dc2deb53409c72bc8d4c083bbc3fd99a7d (diff) |
tdf#42949 Fix IWYU warnings in include/i18nutil/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Icc3cb8118b225c9b19b451b2a6463c844ef4162d
Reviewed-on: https://gerrit.libreoffice.org/62459
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include/i18nutil')
-rw-r--r-- | include/i18nutil/casefolding.hxx | 4 | ||||
-rw-r--r-- | include/i18nutil/oneToOneMapping.hxx | 3 | ||||
-rw-r--r-- | include/i18nutil/paper.hxx | 3 | ||||
-rw-r--r-- | include/i18nutil/searchopt.hxx | 1 | ||||
-rw-r--r-- | include/i18nutil/transliteration.hxx | 1 | ||||
-rw-r--r-- | include/i18nutil/widthfolding.hxx | 6 |
6 files changed, 8 insertions, 10 deletions
diff --git a/include/i18nutil/casefolding.hxx b/include/i18nutil/casefolding.hxx index ca29cabb4959..1b7df9e74b5e 100644 --- a/include/i18nutil/casefolding.hxx +++ b/include/i18nutil/casefolding.hxx @@ -20,11 +20,11 @@ #define INCLUDED_I18NUTIL_CASEFOLDING_HXX #include <sal/types.h> -#include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/uno/RuntimeException.hpp> #include <i18nutil/i18nutildllapi.h> #include <o3tl/typed_flags_set.hxx> +namespace com { namespace sun { namespace star { namespace lang { struct Locale; } } } } + enum class TransliterationFlags; enum class MappingType { diff --git a/include/i18nutil/oneToOneMapping.hxx b/include/i18nutil/oneToOneMapping.hxx index 80550d957158..b479005efe93 100644 --- a/include/i18nutil/oneToOneMapping.hxx +++ b/include/i18nutil/oneToOneMapping.hxx @@ -19,14 +19,11 @@ #ifndef INCLUDED_I18NUTIL_ONETOONEMAPPING_HXX #define INCLUDED_I18NUTIL_ONETOONEMAPPING_HXX -#include <rtl/ustring.hxx> #include <i18nutil/i18nutildllapi.h> #include <memory> namespace i18nutil { -class widthfolding; - struct OneToOneMappingTable_t { sal_Unicode first; diff --git a/include/i18nutil/paper.hxx b/include/i18nutil/paper.hxx index 75f77de05401..2b28942bc1e4 100644 --- a/include/i18nutil/paper.hxx +++ b/include/i18nutil/paper.hxx @@ -22,7 +22,8 @@ #include <i18nutil/i18nutildllapi.h> #include <rtl/string.hxx> -#include <com/sun/star/lang/Locale.hpp> + +namespace com { namespace sun { namespace star { namespace lang { struct Locale; } } } } //!! The values of the following enumerators must correspond to the array position //!! of the respective paper size in the file i18nutil/source/utility/paper.cxx diff --git a/include/i18nutil/searchopt.hxx b/include/i18nutil/searchopt.hxx index 0acf47dfd82b..56bfaa3f87a6 100644 --- a/include/i18nutil/searchopt.hxx +++ b/include/i18nutil/searchopt.hxx @@ -23,7 +23,6 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/util/SearchAlgorithms.hpp> #include <com/sun/star/util/SearchOptions2.hpp> -#include <i18nutil/i18nutildllapi.h> #include <i18nutil/transliteration.hxx> namespace i18nutil diff --git a/include/i18nutil/transliteration.hxx b/include/i18nutil/transliteration.hxx index f962929b2bdc..62c8af82e61f 100644 --- a/include/i18nutil/transliteration.hxx +++ b/include/i18nutil/transliteration.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_I18NUTIL_TRANSLITERATION_HXX #define INCLUDED_I18NUTIL_TRANSLITERATION_HXX -#include <sal/types.h> #include <com/sun/star/i18n/TransliterationModules.hpp> #include <com/sun/star/i18n/TransliterationModulesExtra.hpp> #include <o3tl/typed_flags_set.hxx> diff --git a/include/i18nutil/widthfolding.hxx b/include/i18nutil/widthfolding.hxx index ba0eb8f184dc..310bf954a304 100644 --- a/include/i18nutil/widthfolding.hxx +++ b/include/i18nutil/widthfolding.hxx @@ -20,10 +20,12 @@ #define INCLUDED_I18NUTIL_WIDTHFOLDING_HXX #include <sal/types.h> -#include <com/sun/star/uno/Sequence.hxx> -#include <i18nutil/oneToOneMapping.hxx> +#include <rtl/ustring.hxx> #include <i18nutil/i18nutildllapi.h> +namespace com { namespace sun { namespace star { namespace uno { template <typename > class Sequence; } } } } +namespace i18nutil { class oneToOneMapping; } + namespace i18nutil { #define WIDTHFOLDNIG_DONT_USE_COMBINED_VU 0x01 |