summaryrefslogtreecommitdiff
path: root/io/source/connector
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:54 +0200
commit950f7c31ea0ae8a724787f05f23d1fabe59a91b7 (patch)
tree00c063a7f1c643c039e1115be170ed7f3187186f /io/source/connector
parent10bd50c25d485732cf274bec1e80a8500d91e071 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ia282c33c70977e3c9e8f1c6fd86bee2fa6eca5c3
Diffstat (limited to 'io/source/connector')
-rw-r--r--io/source/connector/connector.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index 7d5d3c321d7b..cc79077cb1b6 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -94,7 +94,7 @@ namespace stoc_connector
if( pConn->m_pipe.create( aName.pData, osl_Pipe_OPEN, osl::Security() ) )
{
- r = Reference < XConnection > ( (XConnection * ) pConn );
+ r = Reference < XConnection > ( static_cast<XConnection *>(pConn) );
}
else
{
@@ -141,7 +141,7 @@ namespace stoc_connector
sizeof( nTcpNoDelay ) , osl_Socket_LevelTcp );
}
pConn->completeConnectionString();
- r = Reference< XConnection > ( (XConnection * ) pConn );
+ r = Reference< XConnection > ( static_cast<XConnection *>(pConn) );
}
else
{
@@ -204,7 +204,7 @@ namespace stoc_connector
Reference< XInterface > SAL_CALL connector_CreateInstance( const Reference< XComponentContext > & xCtx)
{
- return Reference < XInterface >( ( OWeakObject * ) new OConnector(xCtx) );
+ return Reference < XInterface >( static_cast<OWeakObject *>(new OConnector(xCtx)) );
}