diff options
Diffstat (limited to 'tools/source/stream/vcompat.cxx')
-rw-r--r-- | tools/source/stream/vcompat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/stream/vcompat.cxx b/tools/source/stream/vcompat.cxx index b81f95636a24..63575a951aa0 100644 --- a/tools/source/stream/vcompat.cxx +++ b/tools/source/stream/vcompat.cxx @@ -31,7 +31,7 @@ VersionCompat::VersionCompat( SvStream& rStm, sal_uInt16 nStreamMode, sal_uInt16 { if( STREAM_WRITE == mnStmMode ) { - *mpRWStm << mnVersion; + mpRWStm->WriteUInt16( mnVersion ); mnTotalSize = ( mnCompatPos = mpRWStm->Tell() ) + 4UL; mpRWStm->SeekRel( 4L ); } @@ -51,7 +51,7 @@ VersionCompat::~VersionCompat() const sal_uInt32 nEndPos = mpRWStm->Tell(); mpRWStm->Seek( mnCompatPos ); - *mpRWStm << ( nEndPos - mnTotalSize ); + mpRWStm->WriteUInt32( nEndPos - mnTotalSize ); mpRWStm->Seek( nEndPos ); } else |