diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-01 23:32:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-02 09:54:17 +0100 |
commit | cd9038dd398db0710273e4be5fb5310ec2f2c642 (patch) | |
tree | 8cd01dd7985c3f04c53dc275af7b64f46d4f67d2 /i18npool/source/textconversion | |
parent | a2d55e1869a37247549dc6d126e4cfbbf98ef024 (diff) |
move to comphelper, and rename
Diffstat (limited to 'i18npool/source/textconversion')
-rw-r--r-- | i18npool/source/textconversion/textconversion_ko.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/textconversion/textconversion_zh.cxx | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx index 9cdc070ff6bf..9a743e829506 100644 --- a/i18npool/source/textconversion/textconversion_ko.cxx +++ b/i18npool/source/textconversion/textconversion_ko.cxx @@ -35,7 +35,6 @@ #include <com/sun/star/linguistic2/ConversionDirection.hpp> #include <com/sun/star/linguistic2/ConversionDictionaryType.hpp> #include <rtl/ustrbuf.hxx> -#include <i18nutil/x_rtl_ustring.h> #include <unicode/uchar.h> using namespace com::sun::star::lang; diff --git a/i18npool/source/textconversion/textconversion_zh.cxx b/i18npool/source/textconversion/textconversion_zh.cxx index 507f10221e33..bbe6b5d92b5f 100644 --- a/i18npool/source/textconversion/textconversion_zh.cxx +++ b/i18npool/source/textconversion/textconversion_zh.cxx @@ -35,7 +35,7 @@ #include <com/sun/star/i18n/TextConversionOption.hpp> #include <com/sun/star/linguistic2/ConversionDirection.hpp> #include <com/sun/star/linguistic2/ConversionDictionaryType.hpp> -#include <i18nutil/x_rtl_ustring.h> +#include <comphelper/string.hxx> using namespace com::sun::star::lang; using namespace com::sun::star::i18n; @@ -86,7 +86,7 @@ TextConversion_zh::getCharConversion(const OUString& aText, sal_Int32 nStartPos, Index = ((const sal_uInt16* (*)())getFunctionBySymbol("getSTC_CharIndex_S2T"))(); } - rtl_uString * newStr = x_rtl_uString_new_WithLength(nLength); + rtl_uString * newStr = comphelper::string::rtl_uString_alloc(nLength); for (sal_Int32 i = 0; i < nLength; i++) newStr->buffer[i] = getOneCharConversion(aText[nStartPos+i], Data, Index); |