summaryrefslogtreecommitdiffstats
path: root/i18npool/source/textconversion
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/textconversion')
-rw-r--r--i18npool/source/textconversion/genconv_dict.cxx4
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/textconversion/genconv_dict.cxx b/i18npool/source/textconversion/genconv_dict.cxx
index 40e8cd99a9d3..f165c3195c59 100644
--- a/i18npool/source/textconversion/genconv_dict.cxx
+++ b/i18npool/source/textconversion/genconv_dict.cxx
@@ -321,11 +321,11 @@ void make_stc_char(FILE *sfp, FILE *cfp)
}
-typedef struct {
+struct Index {
sal_uInt16 address;
sal_Int32 len;
sal_Unicode *data;
-} Index;
+};
extern "C" {
static int Index_comp(const void* s1, const void* s2)
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 15fe63f2f05b..4e6ef770f613 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -81,11 +81,11 @@ TextConversion_ko::TextConversion_ko( const Reference < XComponentContext >& xCo
static sal_Int16 checkScriptType(sal_Unicode c)
{
- typedef struct {
+ struct UBlock2Script {
UBlockCode from;
UBlockCode to;
sal_Int16 script;
- } UBlock2Script;
+ };
static const UBlock2Script scriptList[] = {
{UBLOCK_HANGUL_JAMO, UBLOCK_HANGUL_JAMO, SCRIPT_HANGUL},