diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/filerec/filerec.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx index d23eba74ea12..56549abd6580 100644 --- a/svl/source/filerec/filerec.cxx +++ b/svl/source/filerec/filerec.cxx @@ -45,15 +45,15 @@ static void lclWriteMiniHeader(SvStream *p, sal_uInt32 nPreTag, sal_uInt32 nStartPos, sal_uInt32 nEndPos) { - (*p).WriteUInt32( sal_uInt32(nPreTag) | + (*p).WriteUInt32( nPreTag | sal_uInt32(nEndPos-nStartPos-SFX_REC_HEADERSIZE_MINI) << 8 ); } static void lclWriteHeader(SvStream *p, sal_uInt32 nRecType, sal_uInt32 nContentTag, sal_uInt32 nContentVer) { - (*p).WriteUInt32( sal_uInt32(nRecType) | - ( sal_uInt32(nContentVer) << 8 ) | - ( sal_uInt32(nContentTag) << 16 ) ); + (*p).WriteUInt32( nRecType | + ( nContentVer << 8 ) | + ( nContentTag << 16 ) ); } #define SFX_REC_CONTENT_HEADER(nContentVer,n1StStartPos,nCurStartPos) \ |