summaryrefslogtreecommitdiff
path: root/idl/source/objects/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/objects/module.cxx')
-rw-r--r--idl/source/objects/module.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx
index e8e6542eb1b0..8766f105a201 100644
--- a/idl/source/objects/module.cxx
+++ b/idl/source/objects/module.cxx
@@ -66,9 +66,9 @@ void SvMetaModule::Load( SvPersistStream & rStm )
rStm >> aAttrList;
// browser
rStm.ReadUniOrByteString( aIdlFileName, rStm.GetStreamCharSet() );
- aHelpFileName = read_lenPrefixed_uInt8s_ToOString(rStm);
- aSlotIdFile = read_lenPrefixed_uInt8s_ToOString(rStm);
- aModulePrefix = read_lenPrefixed_uInt8s_ToOString(rStm);
+ aHelpFileName = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStm);
+ aSlotIdFile = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStm);
+ aModulePrefix = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStm);
// read compiler data
sal_uInt16 nCmpLen;
@@ -91,9 +91,9 @@ void SvMetaModule::Save( SvPersistStream & rStm )
rStm << aAttrList;
// browser
rStm.WriteUniOrByteString( aIdlFileName, rStm.GetStreamCharSet() );
- write_lenPrefixed_uInt8s_FromOString(rStm, aHelpFileName);
- write_lenPrefixed_uInt8s_FromOString(rStm, aSlotIdFile);
- write_lenPrefixed_uInt8s_FromOString(rStm, aModulePrefix);
+ write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rStm, aHelpFileName);
+ write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rStm, aSlotIdFile);
+ write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rStm, aModulePrefix);
// write compiler data
sal_uInt16 nCmpLen = 0;