diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-07 21:44:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-08 13:04:48 +0100 |
commit | 6909de036217b4f903d2caa26062be26226468db (patch) | |
tree | 4840f5d9a98acd0b549a47c1d47f0622ab260526 /svl | |
parent | eb90c628840d47ab9a72a81c3e7e3faf7b6619cf (diff) |
ByteString::ConvertToUnicode->rtl::OUString::ctor::toChar
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 5c9eb7d48fe4..84ab55b7d49f 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1779,9 +1779,9 @@ void SvNumberformat::LoadString( SvStream& rStream, String& rStr ) if ( *p == cStream ) *pUni = cTarget; else - *pUni = ByteString::ConvertToUnicode( *p, eStream ); - p++; - pUni++; + *pUni = rtl::OUString(p, 1, eStream).toChar(); + ++p; + ++pUni; } *pUni = 0; } |