summaryrefslogtreecommitdiff
path: root/basic/source/sbx
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 /basic/source/sbx
parent4c93c341be1425401112eed3581e8b8a6308880d (diff)
remove unnecessary parentheses
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
Diffstat (limited to 'basic/source/sbx')
-rw-r--r--basic/source/sbx/sbxarray.cxx2
-rw-r--r--basic/source/sbx/sbxbase.cxx2
-rw-r--r--basic/source/sbx/sbxobj.cxx6
3 files changed, 5 insertions, 5 deletions
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
{