diff options
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: */ |