summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-16 08:07:06 +0200
committerNoel Grandin <noel@peralex.com>2015-01-16 08:08:44 +0200
commit2f69f6efa0ef3e6647e4a438755c171182a7554c (patch)
tree98dd816a10afe2aed6cf5c085794ac4198b7e906 /tools
parent4c93c341be1425401112eed3581e8b8a6308880d (diff)
remove unnecessary parentheses
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/pstm.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index c6d76f1de77a..0698c18b98e6 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -235,19 +235,19 @@ void SvPersistStream::WriteCompressed( SvStream & rStm, sal_uInt32 nVal )
{
#ifdef STOR_NO_OPTIMIZE
if( nVal < 0x80 )
- rStm.WriteUChar( (LEN_1 | nVal) );
+ rStm.WriteUChar( LEN_1 | nVal );
else if( nVal < 0x4000 )
{
- rStm.WriteUChar( (LEN_2 | (nVal >> 8)) );
+ rStm.WriteUChar( LEN_2 | (nVal >> 8) );
rStm.WriteUChar( nVal );
}
else if( nVal < 0x20000000 )
{
// highest sal_uInt8
- rStm.WriteUChar( (LEN_4 | (nVal >> 24)) );
+ rStm.WriteUChar( LEN_4 | (nVal >> 24) );
// 2nd highest sal_uInt8
- rStm.WriteUChar( (nVal >> 16) );
- rStm.WriteUInt16( (nVal) );
+ rStm.WriteUChar( nVal >> 16 );
+ rStm.WriteUInt16( nVal );
}
else
#endif
@@ -368,12 +368,12 @@ static void WriteId
{
if( (nHdr & P_OBJ) || nId != 0 )
{ // Id set only for pointers or DBGUTIL
- rStm.WriteUChar( (nHdr) );
+ rStm.WriteUChar( nHdr );
SvPersistStream::WriteCompressed( rStm, nId );
}
else
{ // NULL Pointer
- rStm.WriteUChar( (nHdr | P_ID_0) );
+ rStm.WriteUChar( nHdr | P_ID_0 );
return;
}
}