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/transliteration/transliteration_Ignore.cxx | |
parent | a2d55e1869a37247549dc6d126e4cfbbf98ef024 (diff) |
move to comphelper, and rename
Diffstat (limited to 'i18npool/source/transliteration/transliteration_Ignore.cxx')
-rw-r--r-- | i18npool/source/transliteration/transliteration_Ignore.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/source/transliteration/transliteration_Ignore.cxx b/i18npool/source/transliteration/transliteration_Ignore.cxx index 3d812722df65..0d60b2894735 100644 --- a/i18npool/source/transliteration/transliteration_Ignore.cxx +++ b/i18npool/source/transliteration/transliteration_Ignore.cxx @@ -29,9 +29,8 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_i18npool.hxx" -// prevent internal compiler error with MSVC6SP3 #include <utility> - +#include <comphelper/string.hxx> #include <transliteration_Ignore.hxx> using namespace com::sun::star::uno; @@ -138,7 +137,7 @@ transliteration_Ignore::folding( const OUString& inStr, sal_Int32 startPos, { // Create a string buffer which can hold nCount + 1 characters. // The reference count is 1 now. - rtl_uString * newStr = x_rtl_uString_new_WithLength(nCount); + rtl_uString * newStr = comphelper::string::rtl_uString_alloc(nCount); sal_Unicode * dst = newStr->buffer; const sal_Unicode * src = inStr.getStr() + startPos; |