summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/autoform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 2243ba4e900a..31d1c567ca7c 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -749,7 +749,7 @@ bool ScAutoFormatData::Load( SvStream& rStream, const ScAfVersions& rVersions )
// --- from 680/dr25 on: store strings as UTF-8
if (nVer >= AUTOFORMAT_ID_680DR25)
{
- aName = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(rStream,
+ aName = read_uInt16_lenPrefixed_uInt8s_ToOUString(rStream,
RTL_TEXTENCODING_UTF8);
}
else