summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-05-28 15:50:47 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-05-28 15:50:47 +0200
commitd3ef215486cfa669cc12543243c7ff5c3004a093 (patch)
treef9d0706d8e8669b1a89973153f1e4e33233a76b8 /i18npool
parenta42291d0abd14c6c763962a5ae60b02a8552f641 (diff)
i18npool: remove versioned ICU forward declarations
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/IwyuFilter_i18npool.yaml5
-rw-r--r--i18npool/inc/breakiterator_unicode.hxx3
-rw-r--r--i18npool/source/search/textsearch.hxx2
3 files changed, 7 insertions, 3 deletions
diff --git a/i18npool/IwyuFilter_i18npool.yaml b/i18npool/IwyuFilter_i18npool.yaml
index 888e2d0a6ca4..3215ee7a4148 100644
--- a/i18npool/IwyuFilter_i18npool.yaml
+++ b/i18npool/IwyuFilter_i18npool.yaml
@@ -1,6 +1,9 @@
---
assumeFilename: i18npool/source/localedata/localedata.cxx
blacklist:
+ i18npool/inc/breakiterator_unicode.hxx:
+ # contains versioned namespace so cannot forward declare
+ - unicode/brkiter.h
i18npool/inc/breakiteratorImpl.hxx:
# Base class needs complete type
- com/sun/star/i18n/XBreakIterator.hpp
@@ -84,6 +87,8 @@ blacklist:
# Base class needs complete type
- com/sun/star/util/XTextSearch2.hpp
- com/sun/star/lang/XServiceInfo.hpp
+ # contains versioned namespace so cannot forward declare
+ - unicode/regex.h
i18npool/source/breakiterator/xdictionary.cxx:
# Used after #ifdef DICT_JA_ZH_IN_DATAFILE
- config_folders.h
diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx
index 251c4a982184..41831c676f28 100644
--- a/i18npool/inc/breakiterator_unicode.hxx
+++ b/i18npool/inc/breakiterator_unicode.hxx
@@ -21,12 +21,11 @@
#include "breakiteratorImpl.hxx"
+#include <unicode/brkiter.h>
#include <unicode/utext.h>
#include <memory>
#include <unordered_map>
-namespace icu_63 { class BreakIterator; }
-
namespace i18npool {
#define LOAD_CHARACTER_BREAKITERATOR 0
diff --git a/i18npool/source/search/textsearch.hxx b/i18npool/source/search/textsearch.hxx
index 3b58c00749ab..acc49a00ee5a 100644
--- a/i18npool/source/search/textsearch.hxx
+++ b/i18npool/source/search/textsearch.hxx
@@ -27,6 +27,7 @@
#include <map>
#include <memory>
+#include <unicode/regex.h>
#include <unicode/unistr.h>
#include <unicode/uversion.h>
@@ -34,7 +35,6 @@ namespace com::sun::star::i18n { class XBreakIterator; }
namespace com::sun::star::i18n { class XCharacterClassification; }
namespace com::sun::star::i18n { class XExtendedTransliteration; }
namespace com::sun::star::uno { class XComponentContext; }
-namespace icu_63 { class RegexMatcher; }
using namespace U_ICU_NAMESPACE;