diff options
author | Thomas Benisch <tbe@openoffice.org> | 2001-05-11 08:48:01 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2001-05-11 08:48:01 +0000 |
commit | 61ea9bfa7b51d55b9fce474c16eacad4ba9d6e24 (patch) | |
tree | a45bcfb77d0d31abf83ca2157c0dfdbcf9539dfe | |
parent | 32867a7ac96638d75ba4fb5acf8b4897082dc690 (diff) |
rtl string api changes
-rw-r--r-- | io/source/acceptor/acceptor.cxx | 8 | ||||
-rw-r--r-- | io/source/connector/connector.cxx | 8 | ||||
-rw-r--r-- | io/source/stm/odata.cxx | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index 6b1d6840b2ae..60a832a7dd73 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -2,9 +2,9 @@ * * $RCSfile: acceptor.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: jbu $ $Date: 2001-04-11 15:43:48 $ + * last change: $Author: tbe $ $Date: 2001-05-11 09:47:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -262,7 +262,7 @@ namespace io_acceptor sal_Int32 nIndex = container.getToken(i).indexOf( '=' ); if( -1 != nIndex ) { - OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toLowerCase(); + OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toAsciiLowerCase(); if( nIndex < container.getToken(i).getLength() ) { OUString oValue = container.getToken(i).copy( @@ -302,7 +302,7 @@ namespace io_acceptor sal_Int32 nIndex = container.getToken(i).indexOf( '=' ); if( -1 != nIndex ) { - OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toLowerCase(); + OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toAsciiLowerCase(); if( nIndex < container.getToken(i).getLength() ) { OUString oValue = container.getToken(i).copy( nIndex+1 , container.getToken(i).getLength() - nIndex -1 ).trim(); diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index e021c50fc19f..7f42c7037056 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -2,9 +2,9 @@ * * $RCSfile: connector.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: jbu $ $Date: 2001-04-11 15:44:09 $ + * last change: $Author: tbe $ $Date: 2001-05-11 09:47:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -199,7 +199,7 @@ namespace stoc_connector sal_Int32 nIndex = container.getToken(i).indexOf( '=' ); if( -1 != nIndex ) { - OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toLowerCase(); + OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toAsciiLowerCase(); if( nIndex < container.getToken(i).getLength() ) { OUString oValue = container.getToken(i).copy( nIndex+1 , container.getToken(i).getLength() - nIndex -1 ).trim(); @@ -241,7 +241,7 @@ namespace stoc_connector sal_Int32 nIndex = container.getToken(i).indexOf( '=' ); if( -1 != nIndex ) { - OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toLowerCase(); + OUString aName = container.getToken(i).copy( 0 , nIndex ).trim().toAsciiLowerCase(); if( nIndex < container.getToken(i).getLength() ) { OUString oValue = container.getToken(i).copy( nIndex+1 , container.getToken(i).getLength() - nIndex -1 ).trim(); diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 3933dea431d1..6e92d05d83b8 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -2,9 +2,9 @@ * * $RCSfile: odata.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kz $ $Date: 2001-03-19 15:53:33 $ + * last change: $Author: tbe $ $Date: 2001-05-11 09:48:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -797,7 +797,7 @@ void ODataOutputStream::writeUTF(const OUString& Value) throw ( IOException, RuntimeException) { - sal_Int32 nStrLen = Value.len(); + sal_Int32 nStrLen = Value.getLength(); const sal_Unicode * pStr = Value.getStr(); sal_Int32 nUTFLen = 0; @@ -1522,7 +1522,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() sal_Bool bLoadSuccesfull = sal_True; if( nId ) { - if( aName.len() ) + if( aName.getLength() ) { // load the object Reference< XInterface > x = m_rFactory->createInstance( aName ); |