summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 14:16:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 08:39:11 +0200
commit6ce77cac03123f2bf5c9b6698a3f80e32d7fbe85 (patch)
treeabdd40004f9a98c3be7f37e8e0027639456cd688 /i18nutil
parentf2db08b28e99c61c44bc057d03de926ac33d93b7 (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 'i18nutil')
-rw-r--r--i18nutil/source/utility/casefolding.cxx4
-rw-r--r--i18nutil/source/utility/casefolding_data.h4
-rw-r--r--i18nutil/source/utility/oneToOneMapping.cxx4
-rw-r--r--i18nutil/source/utility/widthfolding.cxx4
-rw-r--r--i18nutil/source/utility/widthfolding_data.h4
5 files changed, 10 insertions, 10 deletions
diff --git a/i18nutil/source/utility/casefolding.cxx b/i18nutil/source/utility/casefolding.cxx
index cc67cab9ff8e..882f0c0847e3 100644
--- a/i18nutil/source/utility/casefolding.cxx
+++ b/i18nutil/source/utility/casefolding.cxx
@@ -25,7 +25,7 @@
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
-namespace com { namespace sun { namespace star { namespace i18n {
+namespace i18nutil {
static Mapping mapping_03a3[] = {{0, 1, {0x03c2, 0, 0}},{0, 1, {0x03c3, 0, 0}}};
static Mapping mapping_0307[] = {{0, 0, {0, 0, 0}},{0, 1, {0x0307, 0, 0}}};
@@ -167,6 +167,6 @@ sal_Unicode casefolding::getNextChar(const sal_Unicode *str, sal_Int32& idx, sal
return c;
}
-} } } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h
index 3dad13ba464e..644abce1ea3c 100644
--- a/i18nutil/source/utility/casefolding_data.h
+++ b/i18nutil/source/utility/casefolding_data.h
@@ -21,7 +21,7 @@
#include <sal/types.h>
-namespace com { namespace sun { namespace star { namespace i18n {
+namespace i18nutil {
static const sal_Int8 CaseMappingIndex[] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, -1, -1, // 0000 - 07ff
@@ -851,7 +851,7 @@ static Mapping CaseMappingExtra[] = {
0x0069, 0x00CC, 0x00CD, 0x0128, 0x012E, 0x0130, 0x0049, 0x004A, 0x0307, 0x03A3,
*/
-} } } }
+}
#endif
diff --git a/i18nutil/source/utility/oneToOneMapping.cxx b/i18nutil/source/utility/oneToOneMapping.cxx
index 0ebe66fca8c9..2488f7950fae 100644
--- a/i18nutil/source/utility/oneToOneMapping.cxx
+++ b/i18nutil/source/utility/oneToOneMapping.cxx
@@ -19,7 +19,7 @@
#include <i18nutil/oneToOneMapping.hxx>
-namespace com { namespace sun { namespace star { namespace i18n {
+namespace i18nutil {
oneToOneMapping::oneToOneMapping( OneToOneMappingTable_t const *rpTable, const size_t rnBytes, const size_t rnUnitSize )
: mpTable( rpTable ),
@@ -149,6 +149,6 @@ sal_Unicode oneToOneMappingWithFlag::find( const sal_Unicode nKey ) const
}
-} } } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18nutil/source/utility/widthfolding.cxx b/i18nutil/source/utility/widthfolding.cxx
index 84963f54c922..a7e8dd05c285 100644
--- a/i18nutil/source/utility/widthfolding.cxx
+++ b/i18nutil/source/utility/widthfolding.cxx
@@ -24,7 +24,7 @@
using namespace com::sun::star::uno;
-namespace com { namespace sun { namespace star { namespace i18n {
+namespace i18nutil {
sal_Unicode widthfolding::decompose_ja_voiced_sound_marksChar2Char (sal_Unicode inChar)
{
@@ -284,6 +284,6 @@ oneToOneMapping& widthfolding::gethalfKana2fullKanaTable()
return table;
}
-} } } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18nutil/source/utility/widthfolding_data.h b/i18nutil/source/utility/widthfolding_data.h
index 5e6855e7e0d5..b2bdd369c6cf 100644
--- a/i18nutil/source/utility/widthfolding_data.h
+++ b/i18nutil/source/utility/widthfolding_data.h
@@ -21,7 +21,7 @@
#include <i18nutil/oneToOneMapping.hxx>
-namespace com { namespace sun { namespace star { namespace i18n {
+namespace i18nutil {
/*
Unicode Normalization Forms
@@ -946,7 +946,7 @@ UnicodePairWithFlag half2fullJISException[] = {
};
-} } } }
+}
#endif