summaryrefslogtreecommitdiff
path: root/svl/source/items/macitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/macitem.cxx')
-rw-r--r--svl/source/items/macitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index 9f17f125a479..a84ca7afa7b3 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -132,20 +132,20 @@ SvStream& SvxMacroTableDtor::Write( SvStream& rStream ) const
: SVX_MACROTBL_AKTVERSION;
if( SVX_MACROTBL_VERSION40 <= nVersion )
- rStream << nVersion;
+ rStream.WriteUInt16( nVersion );
- rStream << (sal_uInt16)aSvxMacroTable.size();
+ rStream.WriteUInt16( (sal_uInt16)aSvxMacroTable.size() );
SvxMacroTable::const_iterator it = aSvxMacroTable.begin();
while( it != aSvxMacroTable.end() && rStream.GetError() == SVSTREAM_OK )
{
const SvxMacro& rMac = it->second;
- rStream << it->first;
+ rStream.WriteUInt16( it->first );
SfxPoolItem::writeByteString(rStream, rMac.GetLibName());
SfxPoolItem::writeByteString(rStream, rMac.GetMacName());
if( SVX_MACROTBL_VERSION40 <= nVersion )
- rStream << (sal_uInt16)rMac.GetScriptType();
+ rStream.WriteUInt16( (sal_uInt16)rMac.GetScriptType() );
++it;
}
return rStream;