summaryrefslogtreecommitdiff
path: root/remotebridges
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2001-05-11 09:57:01 +0000
committerThomas Benisch <tbe@openoffice.org>2001-05-11 09:57:01 +0000
commite1f81cde76878825492a96f857a2037e38f33f8d (patch)
treee0bace8c4032f88eff6ac3d1ff5d3f974b560869 /remotebridges
parent1ad25a072dce57586bde6941fa1a0125f9a78e23 (diff)
rtl string api changes
Diffstat (limited to 'remotebridges')
-rw-r--r--remotebridges/source/bridge/remote_bridge.cxx7
-rw-r--r--remotebridges/source/factory/bridgefactory.cxx8
-rw-r--r--remotebridges/source/factory/bridgeimpl.cxx10
3 files changed, 14 insertions, 11 deletions
diff --git a/remotebridges/source/bridge/remote_bridge.cxx b/remotebridges/source/bridge/remote_bridge.cxx
index 64e54d044361..08ed60856475 100644
--- a/remotebridges/source/bridge/remote_bridge.cxx
+++ b/remotebridges/source/bridge/remote_bridge.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: remote_bridge.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jbu $ $Date: 2001-05-02 14:13:35 $
+ * last change: $Author: tbe $ $Date: 2001-05-11 10:56:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -370,7 +370,8 @@ namespace remotebridges_bridge
{
if( m_pContext->m_pConnection )
{
- OUString sProtocol = OUString( m_pContext->m_pProtocol ).getToken( 0 , ',' );
+ sal_Int32 nIndex = 0;
+ OUString sProtocol = OUString( m_pContext->m_pProtocol ).getToken( 0 , ',' , nIndex );
uno_getEnvironment( &m_pEnvRemote , sProtocol.pData , m_pContext );
OSL_ASSERT( m_pEnvRemote );
}
diff --git a/remotebridges/source/factory/bridgefactory.cxx b/remotebridges/source/factory/bridgefactory.cxx
index ea7bd56d0df7..b38d56b7f942 100644
--- a/remotebridges/source/factory/bridgefactory.cxx
+++ b/remotebridges/source/factory/bridgefactory.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bridgefactory.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jl $ $Date: 2001-03-12 16:17:12 $
+ * last change: $Author: tbe $ $Date: 2001-05-11 10:56:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -222,7 +222,7 @@ namespace remotebridges_factory
if( sSuffix.getLength() > 6 &&
0 == sSuffix.copy( sSuffix.getLength() - 6 ).compareToAscii( "Bridge" ) )
{
- OUString sProtocol = sSuffix.copy(0 , sSuffix.getLength()-6 ).toLowerCase();
+ OUString sProtocol = sSuffix.copy(0 , sSuffix.getLength()-6 ).toAsciiLowerCase();
m_mapProtocolToService[ sProtocol ] = seq.getConstArray()[i];
}
}
@@ -238,7 +238,7 @@ namespace remotebridges_factory
{
init();
OUString sService;
- OUString sProtocolName = sProtocol.toLowerCase();
+ OUString sProtocolName = sProtocol.toAsciiLowerCase();
sal_Int32 nIndex = sProtocol.indexOf( (sal_Unicode)',' );
if( nIndex > 0 )
{
diff --git a/remotebridges/source/factory/bridgeimpl.cxx b/remotebridges/source/factory/bridgeimpl.cxx
index 8ecc08f3ccff..3a535985ae7c 100644
--- a/remotebridges/source/factory/bridgeimpl.cxx
+++ b/remotebridges/source/factory/bridgeimpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bridgeimpl.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jbu $ $Date: 2001-05-02 14:14:14 $
+ * last change: $Author: tbe $ $Date: 2001-05-11 10:57:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -114,7 +114,8 @@ namespace remotebridges_factory {
uno_Environment *pEnvRemote = 0;
if( m_pContext->m_pConnection )
{
- OUString sProtocol = OUString( m_pContext->m_pProtocol ).getToken( 0 , ',' );
+ sal_Int32 nIndex = 0;
+ OUString sProtocol = OUString( m_pContext->m_pProtocol ).getToken( 0 , ',' , nIndex );
uno_getEnvironment( &pEnvRemote , sProtocol.pData , m_pContext );
OSL_ASSERT( pEnvRemote );
}
@@ -153,7 +154,8 @@ namespace remotebridges_factory {
}
if( pContext )
{
- OUString sProtocol = OUString( m_pContext->m_pProtocol ).getToken( 0 , ',' );
+ sal_Int32 nIndex;
+ OUString sProtocol = OUString( m_pContext->m_pProtocol ).getToken( 0 , ',' , nIndex );
// get the appropriate remote environment
uno_Environment *pEnvRemote = 0;