From 7aa7f4d9e4294959748bccf9e763154740251635 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Sep 2017 08:53:38 +0200 Subject: loplugin:unnecessaryparen include c++ casts Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins Reviewed-by: Noel Grandin --- io/source/stm/opipe.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io/source/stm/opipe.cxx') 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) ); } -- cgit