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.
This commit is contained in:
Jens-Heiner Rechtien
2006-06-19 23:17:04 +00:00
parent b94c7bb31c
commit d903c09cf3

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: ctr_pipe.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -44,14 +44,17 @@ using namespace ::com::sun::star::connection;
namespace stoc_connector { namespace stoc_connector {
PipeConnection::PipeConnection( const OUString &s, const OUString & sConnectionDescription ) : PipeConnection::PipeConnection( const OUString & sConnectionDescription ) :
m_nStatus( 0 ), m_nStatus( 0 ),
m_sDescription( sConnectionDescription ) m_sDescription( sConnectionDescription )
{ {
g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
// make it unique // make it unique
m_sDescription += OUString::createFromAscii( ",uniqueValue=" ); 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() PipeConnection::~PipeConnection()