diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-11-01 13:57:16 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-11-01 13:57:16 +0000 |
commit | 8e4672f44c6fbee3e9f3f301ab79864f20853cbf (patch) | |
tree | 6166cdfde8dbe1660db76cb0a8984704ea3b3e39 /i18npool/source/textconversion | |
parent | 17f05e4b1507063b2217aa4a21dfaed3aaf4804d (diff) |
INTEGRATION: CWS locales201 (1.5.6); FILE MERGED
2005/10/11 14:38:53 er 1.5.6.1: get rid of unnecessary references to module tools''
Diffstat (limited to 'i18npool/source/textconversion')
-rw-r--r-- | i18npool/source/textconversion/genconv_dict.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/i18npool/source/textconversion/genconv_dict.cxx b/i18npool/source/textconversion/genconv_dict.cxx index e8d6325fc142..e45ac34c250e 100644 --- a/i18npool/source/textconversion/genconv_dict.cxx +++ b/i18npool/source/textconversion/genconv_dict.cxx @@ -4,9 +4,9 @@ * * $RCSfile: genconv_dict.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-07 17:24:08 $ + * last change: $Author: kz $ $Date: 2005-11-01 14:57:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -38,8 +38,8 @@ #include <stdlib.h> #include <sal/main.h> #include <sal/types.h> -#include <tools/string.hxx> #include <rtl/strbuf.hxx> +#include <rtl/ustring.hxx> using namespace ::rtl; @@ -353,7 +353,6 @@ void make_stc_word(FILE *sfp, FILE *cfp) // input file is in UTF-8 encoding (SChinese:TChinese) // don't convert last new line character to Ostr. OUString Ostr((const sal_Char *)Cstr, strlen(Cstr) - 1, RTL_TEXTENCODING_UTF8); - const sal_Unicode *Ustr = Ostr.getStr(); sal_Int32 len = Ostr.getLength(); if (char_total + len + 1 > 0xFFFF) { fprintf(stderr, "Word Dictionary stc_word.dic is too big (line %d)", line); |