diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2000-11-27 07:04:44 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2000-11-27 07:04:44 +0000 |
commit | 2b7bf602b8976d6a581bd4353a62709d9a4f3d72 (patch) | |
tree | 0c49d95319a056ae1901b151831b44ef0f31b748 /remotebridges/source | |
parent | 59b8a9344ba8f335965a86ffb174a07dcab4627d (diff) |
#79799# protocol-parameters are now cut off for bridge identification
Diffstat (limited to 'remotebridges/source')
-rw-r--r-- | remotebridges/source/factory/bridgefactory.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
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() ) { |