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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx
index 72985e968cfd..170053a857ed 100644
--- a/idl/source/objects/module.cxx
+++ b/idl/source/objects/module.cxx
@@ -49,7 +49,7 @@ void SvMetaModule::Load( SvPersistStream & rStm )
sal_uInt16 nVer;
- rStm >> nVer; // version
+ rStm.ReadUInt16( nVer ); // version
DBG_ASSERT( (nVer & ~IDL_WRITE_MASK) == MODULE_VER, "false version" );
rStm >> aClassList;
@@ -63,7 +63,7 @@ void SvMetaModule::Load( SvPersistStream & rStm )
// read compiler data
sal_uInt16 nCmpLen;
- rStm >> nCmpLen;
+ rStm.ReadUInt16( nCmpLen );
DBG_ASSERT( (nVer & IDL_WRITE_MASK) == IDL_WRITE_COMPILER,
"no idl compiler format" );
rStm >> aBeginName;