diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-03 14:16:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 08:39:11 +0200 |
commit | 6ce77cac03123f2bf5c9b6698a3f80e32d7fbe85 (patch) | |
tree | abdd40004f9a98c3be7f37e8e0027639456cd688 /i18npool/source/breakiterator/xdictionary.cxx | |
parent | f2db08b28e99c61c44bc057d03de926ac33d93b7 (diff) |
move stuff in i18npool/i18nutil in own namespace
instead of trying to share the css::i18n namespace, which is just very
confusing and should be left to actual UNO artifacts
Change-Id: I2f5c36bf1af9a2a98c4f997dd450d015e75ed3f6
Reviewed-on: https://gerrit.libreoffice.org/43079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 90e866426d57..5653021fc13a 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -29,7 +29,9 @@ #include <string.h> #include <breakiteratorImpl.hxx> -namespace com { namespace sun { namespace star { namespace i18n { +using namespace com::sun::star::i18n; + +namespace i18npool { #ifdef DICT_JA_ZH_IN_DATAFILE @@ -198,7 +200,7 @@ bool xdictionary::exists(const sal_uInt32 c) // 0x1FFF is the hardcoded limit in gendict for data.existMarks bool exist = data.existMark && (c>>3) < 0x1FFF && (data.existMark[c>>3] & (1<<(c&0x07))) != 0; if (!exist && japaneseWordBreak) - return BreakIteratorImpl::getScriptClass(c) == ScriptType::ASIAN; + return BreakIteratorImpl::getScriptClass(c) == css::i18n::ScriptType::ASIAN; else return exist; } @@ -474,6 +476,6 @@ Boundary const & xdictionary::getWordBoundary(const OUString& rText, sal_Int32 a return boundary; } -} } } } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |