diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-30 01:32:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-30 10:49:35 +0000 |
commit | 015a93d6b6ba88382ca5cb13a59dda3e47e08eb6 (patch) | |
tree | 07b5f1ebe1b3badbd5a7bc195bd4b0aa5901b5f9 /basic/source | |
parent | 9a39ae6d2d1eb1443bee95232c6b045d60f9052e (diff) |
make basic XubString free
Change-Id: Iea5c01fe902b052a55c86ca3b879bcca12c80690
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 6b486669ac49..e4d9000ca11e 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -1420,7 +1420,7 @@ sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 ) case SbxSINGLE: { // Floats as ASCII - XubString aVal = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(r, + OUString aVal = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(r, RTL_TEXTENCODING_ASCII_US); double d; SbxDataType t; @@ -1436,7 +1436,7 @@ sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 ) case SbxDOUBLE: { // Floats as ASCII - XubString aVal = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(r, + OUString aVal = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(r, RTL_TEXTENCODING_ASCII_US); SbxDataType t; if( ImpScan( aVal, aData.nDouble, t, NULL ) != SbxERR_OK ) |