Kaydet (Commit) 511061b0 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

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: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 30bb64dc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment