rtl string api changes

This commit is contained in:
Philipp Lohmann
2001-05-14 08:43:44 +00:00
parent b82cc20db0
commit c9ad45da3e
3 changed files with 10 additions and 10 deletions

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: context.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: pl $ $Date: 2000-12-07 19:29:01 $
* last change: $Author: pl $ $Date: 2001-05-14 09:43:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -156,7 +156,7 @@ void XPluginContext_Impl::getURL(const Reference< ::com::sun::star::plugin::XPlu
if( ! xInst.is() )
return;
if( ! target.len() )
if( ! target.getLength() )
{
INetURLObject aURL;
aURL.SetSmartProtocol( INET_PROT_FILE );

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: manager.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: pl $ $Date: 2000-11-28 10:02:58 $
* last change: $Author: pl $ $Date: 2001-05-14 09:43:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -253,10 +253,10 @@ Reference< ::com::sun::star::plugin::XPlugin > XPluginManager_Impl::createPlugi
int nPos = url.lastIndexOf( (sal_Unicode)'.' );
if( nPos != -1 )
{
::rtl::OUString aExt = url.copy( nPos ).toLowerCase();
::rtl::OUString aExt = url.copy( nPos ).toAsciiLowerCase();
for( int i = 0; i < aDescrs.getLength(); i++ )
{
if( pDescrs[ i ].Extension.equalsIgnoreCase( aExt ) != STRING_NOTFOUND )
if( pDescrs[ i ].Extension.equalsIgnoreAsciiCase( aExt ) != STRING_NOTFOUND )
{
nDescr = i;
break;

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: resource.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: jl $ $Date: 2001-03-23 11:55:07 $
* last change: $Author: pl $ $Date: 2001-05-14 09:38:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -295,7 +295,7 @@ Reference< XInvocation > ResourceService::getDefaultInvocation() const
OUString SAL_CALL ResourceService::getExactName( const OUString & ApproximateName )
{
OUString aName( ApproximateName );
aName = aName.toLowerCase();
aName = aName.toAsciiLowerCase();
if( aName == OUString::createFromAscii("filename") )
return OUString::createFromAscii("FileName");
else if( aName == OUString::createFromAscii("getstring" ))