summaryrefslogtreecommitdiff
path: root/io/source/stm/opipe.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 08:53:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 10:52:41 +0200
commit7aa7f4d9e4294959748bccf9e763154740251635 (patch)
tree79fc3855ce0cc1141abdda514df374cd42ab259c /io/source/stm/opipe.cxx
parent6f511a5de909b2fb6cb42b851e0cc90f54fbdd59 (diff)
loplugin:unnecessaryparen include c++ casts
Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'io/source/stm/opipe.cxx')
-rw-r--r--io/source/stm/opipe.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index ccc3214cc8a5..c71954696150 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -299,7 +299,7 @@ void OPipeImpl::setSuccessor( const Reference < XConnectable > &r )
if( m_succ.is() )
{
m_succ->setPredecessor(
- Reference< XConnectable > ( (static_cast< XConnectable * >(this)) ) );
+ Reference< XConnectable > ( static_cast< XConnectable * >(this) ) );
}
}
}
@@ -317,7 +317,7 @@ void OPipeImpl::setPredecessor( const Reference < XConnectable > &r )
m_pred = r;
if( m_pred.is() ) {
m_pred->setSuccessor(
- Reference < XConnectable > ( (static_cast< XConnectable * >(this)) ) );
+ Reference < XConnectable > ( static_cast< XConnectable * >(this) ) );
}
}
}
@@ -357,7 +357,7 @@ Reference < XInterface > SAL_CALL OPipeImpl_CreateInstance(
{
OPipeImpl *p = new OPipeImpl;
- return Reference < XInterface > ( (static_cast< OWeakObject * >(p)) );
+ return Reference < XInterface > ( static_cast< OWeakObject * >(p) );
}