summaryrefslogtreecommitdiff
path: root/i18npool/source/nativenumber/nativenumbersupplier.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-01 23:32:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-02 09:54:17 +0100
commitcd9038dd398db0710273e4be5fb5310ec2f2c642 (patch)
tree8cd01dd7985c3f04c53dc275af7b64f46d4f67d2 /i18npool/source/nativenumber/nativenumbersupplier.cxx
parenta2d55e1869a37247549dc6d126e4cfbbf98ef024 (diff)
move to comphelper, and rename
Diffstat (limited to 'i18npool/source/nativenumber/nativenumbersupplier.cxx')
-rw-r--r--i18npool/source/nativenumber/nativenumbersupplier.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx
index 6d0a1d4efec6..8dbefdc7889f 100644
--- a/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -34,7 +34,7 @@
#include <nativenumbersupplier.hxx>
#include <localedata.hxx>
#include <data/numberchar.h>
-#include <i18nutil/x_rtl_ustring.h>
+#include <comphelper/string.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -79,7 +79,7 @@ OUString SAL_CALL AsciiToNativeChar( const OUString& inStr, sal_Int32 startPos,
Sequence< sal_Int32 >& offset, sal_Bool useOffset, sal_Int16 number ) throw(RuntimeException)
{
const sal_Unicode *src = inStr.getStr() + startPos;
- rtl_uString *newStr = x_rtl_uString_new_WithLength(nCount);
+ rtl_uString *newStr = comphelper::string::rtl_uString_alloc(nCount);
if (useOffset)
offset.realloc(nCount);