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 /editeng | |
parent | disentangle Read/WriteByteString OUString variants (diff) | |
download | core-c1d49234e5e8e7faa84f4d118500a138decfb04e.tar.gz core-c1d49234e5e8e7faa84f4d118500a138decfb04e.zip |
tweak for pre language-defect #77
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 8435e66d923f..e6ca9a513e10 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -1131,10 +1131,10 @@ void BinTextObject::StoreData( SvStream& rOStream ) const // Convert CH_FEATURE to CH_FEATURE_OLD aText.SearchAndReplaceAll( cFeatureConverted, CH_FEATURE_OLD ); - write_lenPrefixed_uInt8s_FromOString(rOStream, aText); + write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rOStream, aText); // StyleName and Family... - write_lenPrefixed_uInt8s_FromOUString(rOStream, pC->GetStyle(), eEncoding); + write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rOStream, pC->GetStyle(), eEncoding); rOStream << (sal_uInt16)pC->GetFamily(); // Paragraph attributes ... @@ -1226,7 +1226,7 @@ void BinTextObject::CreateData( SvStream& rIStream ) ContentInfo* pC = CreateAndInsertContent(); // The Text... - ByteString aByteString = read_lenPrefixed_uInt8s_ToOString(rIStream); + ByteString aByteString = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rIStream); pC->GetText() = rtl::OStringToOUString(aByteString, eSrcEncoding); // StyleName and Family... |