diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 13:33:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 13:44:52 +0000 |
commit | c1d49234e5e8e7faa84f4d118500a138decfb04e (patch) | |
tree | 9a320b5f4e1bbe62b83326ee075674764393e979 /sc/source/core/tool/autoform.cxx | |
parent | 5c24789ca33d7b2b0c39626208cf0708fb470d95 (diff) |
tweak for pre language-defect #77
Diffstat (limited to 'sc/source/core/tool/autoform.cxx')
-rw-r--r-- | sc/source/core/tool/autoform.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index 61b8355826f8..c938a1796c6b 100644 --- a/sc/source/core/tool/autoform.cxx +++ b/sc/source/core/tool/autoform.cxx @@ -799,7 +799,7 @@ sal_Bool ScAutoFormatData::Load( SvStream& rStream, const ScAfVersions& rVersion // --- from 680/dr25 on: store strings as UTF-8 if (nVer >= AUTOFORMAT_ID_680DR25) { - aName = read_lenPrefixed_uInt8s_ToOUString(rStream, + aName = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(rStream, RTL_TEXTENCODING_UTF8); } else @@ -869,7 +869,7 @@ sal_Bool ScAutoFormatData::Save(SvStream& rStream) sal_Bool b; rStream << nVal; // --- from 680/dr25 on: store strings as UTF-8 - write_lenPrefixed_uInt8s_FromOUString(rStream, aName, RTL_TEXTENCODING_UTF8); + write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStream, aName, RTL_TEXTENCODING_UTF8); rStream << nStrResId; rStream << ( b = bIncludeFont ); |