From d903c09cf38aec4655f23e82b1a057388df20f59 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 23:17:04 +0000 Subject: [PATCH] INTEGRATION: CWS warnings01 (1.3.132); FILE MERGED 2005/09/22 20:27:38 sb 1.3.132.4: RESYNC: (1.3-1.4); FILE MERGED 2005/09/07 14:14:52 sb 1.3.132.3: #i53898# Made code warning-free. 2005/09/06 10:11:11 sb 1.3.132.2: #i53898# sal::reinterpret_int_cast is not needed. 2005/09/01 08:14:28 sb 1.3.132.1: #i53898# Made code warning-free. --- io/source/connector/ctr_pipe.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/io/source/connector/ctr_pipe.cxx b/io/source/connector/ctr_pipe.cxx index db493d20666f..1dce1e2aa393 100644 --- a/io/source/connector/ctr_pipe.cxx +++ b/io/source/connector/ctr_pipe.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ctr_pipe.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:29:15 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:17:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,14 +44,17 @@ using namespace ::com::sun::star::connection; namespace stoc_connector { - PipeConnection::PipeConnection( const OUString &s, const OUString & sConnectionDescription ) : + PipeConnection::PipeConnection( const OUString & sConnectionDescription ) : m_nStatus( 0 ), m_sDescription( sConnectionDescription ) { g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); // make it unique m_sDescription += OUString::createFromAscii( ",uniqueValue=" ); - m_sDescription += OUString::valueOf( (sal_Int64) &m_pipe , 10 ); + m_sDescription += OUString::valueOf( + sal::static_int_cast< sal_Int64 >( + reinterpret_cast< sal_IntPtr >(&m_pipe)), + 10 ); } PipeConnection::~PipeConnection()