summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-21 13:33:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-21 13:44:52 +0000
commitc1d49234e5e8e7faa84f4d118500a138decfb04e (patch)
tree9a320b5f4e1bbe62b83326ee075674764393e979 /sw
parent5c24789ca33d7b2b0c39626208cf0708fb470d95 (diff)
tweak for pre language-defect #77
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/tblafmt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index be2d325aef8f..4ecbd2abe185 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -486,7 +486,7 @@ sal_Bool SwBoxAutoFmt::Save( SvStream& rStream ) const
aRotateMode.Store( rStream, aRotateMode.GetVersion(SOFFICE_FILEFORMAT_40) );
// --- from 680/dr25 on: store strings as UTF-8
- write_lenPrefixed_uInt8s_FromOUString(rStream, sNumFmtString,
+ write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStream, sNumFmtString,
RTL_TEXTENCODING_UTF8);
rStream << (sal_uInt16)eSysLanguage << (sal_uInt16)eNumFmtLanguage;
@@ -861,7 +861,7 @@ sal_Bool SwTableAutoFmt::Save( SvStream& rStream ) const
sal_Bool b;
rStream << nVal;
// --- from 680/dr25 on: store strings as UTF-8
- write_lenPrefixed_uInt8s_FromOUString(rStream, aName,
+ write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStream, aName,
RTL_TEXTENCODING_UTF8 );
rStream << nStrResId;
rStream << ( b = bInclFont );