diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-23 01:18:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-23 10:35:45 +0100 |
commit | 7ba337359eaf76b73dfa7828e9efe8850257f9ce (patch) | |
tree | b8a668617faa641a09f6fb8c24b83e0296e8c263 /i18nutil/source | |
parent | ditch deprecated api (diff) | |
download | core-7ba337359eaf76b73dfa7828e9efe8850257f9ce.tar.gz core-7ba337359eaf76b73dfa7828e9efe8850257f9ce.zip |
merge these similar methods together
Diffstat (limited to 'i18nutil/source')
-rw-r--r-- | i18nutil/source/utility/widthfolding.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/i18nutil/source/utility/widthfolding.cxx b/i18nutil/source/utility/widthfolding.cxx index 1152d9e59bf2..ed636b2e5cc4 100644 --- a/i18nutil/source/utility/widthfolding.cxx +++ b/i18nutil/source/utility/widthfolding.cxx @@ -55,8 +55,7 @@ OUString widthfolding::decompose_ja_voiced_sound_marks (const OUString& inStr, s { // Create a string buffer which can hold nCount * 2 + 1 characters. // Its size may become double of nCount. - rtl_uString * newStr; - x_rtl_uString_new_WithLength( &newStr, nCount * 2 ); // defined in x_rtl_ustring.h The reference count is 0 now. + rtl_uString * newStr = x_rtl_uString_new_WithLength(nCount * 2 ); // defined in x_rtl_ustring.h The reference count is 0 now. sal_Int32 *p = NULL; sal_Int32 position = 0; |