summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/filerec/filerec.cxx10
-rw-r--r--svl/source/items/poolio.cxx6
2 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 41453f6cb75c..e6ef65309536 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -43,15 +43,15 @@
static void lclWriteMiniHeader(SvStream *p, sal_uInt32 nPreTag, sal_uInt32 nStartPos, sal_uInt32 nEndPos)
{
- (*p).WriteUInt32( sal_uInt32(nPreTag) |
- sal_uInt32(nEndPos-nStartPos-SFX_REC_HEADERSIZE_MINI) << 8 );
+ (*p).WriteUInt32( sal_uInt32(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( sal_uInt32(nRecType) |
+ ( sal_uInt32(nContentVer) << 8 ) |
+ ( sal_uInt32(nContentTag) << 16 ) );
}
#define SFX_REC_CONTENT_HEADER(nContentVer,n1StStartPos,nCurStartPos) \
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 765673501d38..046503691784 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -132,7 +132,7 @@ SvStream &SfxItemPool::Store(SvStream &rStream) const
pImp->bStreaming = true;
if ( !pStoreMaster )
{
- rStream.WriteUInt16( rStream.GetVersion() >= SOFFICE_FILEFORMAT_50
+ rStream.WriteUInt16( rStream.GetVersion() >= SOFFICE_FILEFORMAT_50
? SFX_ITEMPOOL_TAG_STARTPOOL_5
: SFX_ITEMPOOL_TAG_STARTPOOL_4 );
rStream.WriteUInt8( SFX_ITEMPOOL_VER_MAJOR ).WriteUInt8( SFX_ITEMPOOL_VER_MINOR );
@@ -853,7 +853,7 @@ bool SfxItemPool::StoreSurrogate ( SvStream& rStream, const SfxPoolItem* pItem)
if ( pItem )
{
bool bRealSurrogate = IsItemFlag(*pItem, SFX_ITEM_POOLABLE);
- rStream.WriteUInt32( bRealSurrogate
+ rStream.WriteUInt32( bRealSurrogate
? GetSurrogate( pItem )
: SFX_ITEMS_DIRECT );
return bRealSurrogate;
@@ -1162,7 +1162,7 @@ bool SfxItemPool::StoreItem( SvStream &rStream, const SfxPoolItem &rItem,
rItem.Store(rStream, nItemVersion);
sal_uLong nIEnd = rStream.Tell();
rStream.Seek( nIStart-4 );
- rStream.WriteInt32( ( nIEnd-nIStart ) );
+ rStream.WriteInt32( nIEnd-nIStart );
rStream.Seek( nIEnd );
}