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>
This commit is contained in:
parent
30bb64dc2d
commit
511061b0d3
11 changed files with 20 additions and 10 deletions
|
@ -19,8 +19,11 @@
|
|||
|
||||
#include <i18nutil/casefolding.hxx>
|
||||
#include "casefolding_data.h"
|
||||
#include <i18nutil/oneToOneMapping.hxx>
|
||||
#include <i18nutil/widthfolding.hxx>
|
||||
#include <i18nutil/transliteration.hxx>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
#include <com/sun/star/uno/RuntimeException.hpp>
|
||||
|
||||
using namespace com::sun::star::lang;
|
||||
using namespace com::sun::star::uno;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <i18nutil/oneToOneMapping.hxx>
|
||||
#include <string.h>
|
||||
|
||||
namespace i18nutil {
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <utility>
|
||||
#include <cstdlib>
|
||||
#include <unotools/configmgr.hxx>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
|
||||
#ifdef UNX
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <i18nutil/widthfolding.hxx>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include "widthfolding_data.h"
|
||||
|
||||
using namespace com::sun::star::uno;
|
||||
|
|
|
@ -278,3 +278,9 @@ blacklist:
|
|||
- com/sun/star/lang/XInitialization.hpp
|
||||
- com/sun/star/lang/XServiceInfo.hpp
|
||||
- com/sun/star/xml/sax/XFastParser.hpp
|
||||
include/i18nutil/casefolding.hxx:
|
||||
# Needed for template
|
||||
- o3tl/typed_flags_set.hxx
|
||||
include/i18nutil/transliteration.hxx:
|
||||
# Needed for template
|
||||
- o3tl/typed_flags_set.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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue