diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-16 08:07:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-16 08:08:44 +0200 |
commit | 2f69f6efa0ef3e6647e4a438755c171182a7554c (patch) | |
tree | 98dd816a10afe2aed6cf5c085794ac4198b7e906 /basic | |
parent | 4c93c341be1425401112eed3581e8b8a6308880d (diff) |
remove unnecessary parentheses
left over from "SVStream operator>> to Write method" conversion
Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/image.cxx | 6 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 10 | ||||
-rw-r--r-- | basic/source/sbx/sbxarray.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxbase.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxobj.cxx | 6 |
5 files changed, 13 insertions, 13 deletions
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index 8e52b450a21c..ea2e7335f622 100644 --- a/basic/source/classes/image.cxx +++ b/basic/source/classes/image.cxx @@ -95,7 +95,7 @@ void SbiCloseRecord( SvStream& r, sal_Size nOff ) { sal_Size nPos = r.Tell(); r.Seek( nOff + 2 ); - r.WriteInt32( ( nPos - nOff - 8 ) ); + r.WriteInt32(nPos - nOff - 8 ); r.Seek( nPos ); } @@ -287,8 +287,8 @@ bool SbiImage::Save( SvStream& r, sal_uInt32 nVer ) } r .WriteInt32( eCharSet ) .WriteInt32( nDimBase ) - .WriteInt16( nFlags ) - .WriteInt16( 0 ) + .WriteInt16( nFlags ) + .WriteInt16( 0 ) .WriteInt32( 0 ) .WriteInt32( 0 ); diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 91b98d7d1322..a9981240e034 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2065,11 +2065,11 @@ bool SbMethod::StoreData( SvStream& rStrm ) const { if( !SbxMethod::StoreData( rStrm ) ) return false; - rStrm.WriteInt16( nDebugFlags ) - .WriteInt16( nLine1 ) - .WriteInt16( nLine2 ) - .WriteInt16( nStart ) - .WriteUChar( bInvalid ); + rStrm.WriteInt16( nDebugFlags ) + .WriteInt16( nLine1 ) + .WriteInt16( nLine2 ) + .WriteInt16( nStart ) + .WriteUChar( bInvalid ); return true; } diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx index 420715b261c3..4754c98785f1 100644 --- a/basic/source/sbx/sbxarray.cxx +++ b/basic/source/sbx/sbxarray.cxx @@ -783,7 +783,7 @@ bool SbxDimArray::LoadData( SvStream& rStrm, sal_uInt16 nVer ) bool SbxDimArray::StoreData( SvStream& rStrm ) const { - rStrm.WriteInt16( m_vDimensions.size() ); + rStrm.WriteInt16( m_vDimensions.size() ); for( short i = 0; i < static_cast<short>(m_vDimensions.size()); i++ ) { short lb, ub; diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 6e795a9efa30..f13b4c9811d7 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -268,7 +268,7 @@ bool SbxBase::Store( SvStream& rStrm ) bool bRes = StoreData( rStrm ); sal_Size nNewPos = rStrm.Tell(); rStrm.Seek( nOldPos ); - rStrm.WriteUInt32( ( nNewPos - nOldPos ) ); + rStrm.WriteUInt32( nNewPos - nOldPos ); rStrm.Seek( nNewPos ); if( rStrm.GetError() != SVSTREAM_OK ) bRes = false; diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index a7d8d4bf5af3..e677d7dfe8c4 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -690,7 +690,7 @@ bool SbxObject::StoreData( SvStream& rStrm ) const } sal_Size nNew = rStrm.Tell(); rStrm.Seek( nPos ); - rStrm.WriteUInt32( ( nNew - nPos ) ); + rStrm.WriteUInt32( nNew - nPos ); rStrm.Seek( nNew ); if( !pMethods->Store( rStrm ) ) { @@ -832,7 +832,7 @@ void SbxObject::Dump( SvStream& rStrm, bool bFill ) OString aClassNameStr(OUStringToOString(aClassName, RTL_TEXTENCODING_ASCII_US)); rStrm.WriteCharPtr( "Object( " ) .WriteCharPtr( OString::number(reinterpret_cast<sal_Int64>(this)).getStr() ).WriteCharPtr( "=='" ) - .WriteCharPtr( aNameStr.isEmpty() ? "<unnamed>" : aNameStr.getStr() ).WriteCharPtr( "', " ) + .WriteCharPtr( aNameStr.isEmpty() ? "<unnamed>" : aNameStr.getStr() ).WriteCharPtr( "', " ) .WriteCharPtr( "of class '" ).WriteCharPtr( aClassNameStr.getStr() ).WriteCharPtr( "', " ) .WriteCharPtr( "counts " ) .WriteCharPtr( OString::number(GetRefCount()).getStr() ) @@ -842,7 +842,7 @@ void SbxObject::Dump( SvStream& rStrm, bool bFill ) OString aParentNameStr(OUStringToOString(GetName(), RTL_TEXTENCODING_ASCII_US)); rStrm.WriteCharPtr( "in parent " ) .WriteCharPtr( OString::number(reinterpret_cast<sal_Int64>(GetParent())).getStr() ) - .WriteCharPtr( "=='" ).WriteCharPtr( aParentNameStr.isEmpty() ? "<unnamed>" : aParentNameStr.getStr() ).WriteCharPtr( "'" ); + .WriteCharPtr( "=='" ).WriteCharPtr( aParentNameStr.isEmpty() ? "<unnamed>" : aParentNameStr.getStr() ).WriteCharPtr( "'" ); } else { |