From 2b7bf602b8976d6a581bd4353a62709d9a4f3d72 Mon Sep 17 00:00:00 2001 From: Jörg Budischewski Date: Mon, 27 Nov 2000 07:04:44 +0000 Subject: #79799# protocol-parameters are now cut off for bridge identification --- remotebridges/source/factory/bridgefactory.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'remotebridges') diff --git a/remotebridges/source/factory/bridgefactory.cxx b/remotebridges/source/factory/bridgefactory.cxx index dbefefccf078..4ab86823469e 100644 --- a/remotebridges/source/factory/bridgefactory.cxx +++ b/remotebridges/source/factory/bridgefactory.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bridgefactory.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jbu $ $Date: 2000-10-30 09:08:46 $ + * last change: $Author: jbu $ $Date: 2000-11-27 08:04:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -239,6 +239,11 @@ namespace remotebridges_factory init(); OUString sService; OUString sProtocolName = sProtocol.toLowerCase(); + sal_Int32 nIndex = sProtocol.indexOf( (sal_Unicode)',' ); + if( nIndex > 0 ) + { + sProtocolName = sProtocol.copy( 0 , nIndex ); + } ServiceHashMap::iterator ii = m_mapProtocolToService.find( sProtocolName ); if( ii != m_mapProtocolToService.end() ) { -- cgit