summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxcoll.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxcoll.cxx')
-rw-r--r--basic/source/sbx/sbxcoll.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxcoll.cxx b/basic/source/sbx/sbxcoll.cxx
index 97573876064c..0e3f911fb5b0 100644
--- a/basic/source/sbx/sbxcoll.cxx
+++ b/basic/source/sbx/sbxcoll.cxx
@@ -279,7 +279,7 @@ sal_Bool SbxStdCollection::LoadData( SvStream& rStrm, sal_uInt16 nVer )
sal_Bool bRes = SbxCollection::LoadData( rStrm, nVer );
if( bRes )
{
- aElemClass = read_lenPrefixed_uInt8s_ToOUString(rStrm,
+ aElemClass = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(rStrm,
RTL_TEXTENCODING_ASCII_US);
rStrm >> bAddRemoveOk;
}
@@ -291,7 +291,7 @@ sal_Bool SbxStdCollection::StoreData( SvStream& rStrm ) const
sal_Bool bRes = SbxCollection::StoreData( rStrm );
if( bRes )
{
- write_lenPrefixed_uInt8s_FromOUString(rStrm, aElemClass,
+ write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStrm, aElemClass,
RTL_TEXTENCODING_ASCII_US);
rStrm << bAddRemoveOk;
}