rtl string api changes
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: context.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -156,7 +156,7 @@ void XPluginContext_Impl::getURL(const Reference< ::com::sun::star::plugin::XPlu
|
|||||||
if( ! xInst.is() )
|
if( ! xInst.is() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( ! target.len() )
|
if( ! target.getLength() )
|
||||||
{
|
{
|
||||||
INetURLObject aURL;
|
INetURLObject aURL;
|
||||||
aURL.SetSmartProtocol( INET_PROT_FILE );
|
aURL.SetSmartProtocol( INET_PROT_FILE );
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: manager.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -253,10 +253,10 @@ Reference< ::com::sun::star::plugin::XPlugin > XPluginManager_Impl::createPlugi
|
|||||||
int nPos = url.lastIndexOf( (sal_Unicode)'.' );
|
int nPos = url.lastIndexOf( (sal_Unicode)'.' );
|
||||||
if( nPos != -1 )
|
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++ )
|
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;
|
nDescr = i;
|
||||||
break;
|
break;
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: resource.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -295,7 +295,7 @@ Reference< XInvocation > ResourceService::getDefaultInvocation() const
|
|||||||
OUString SAL_CALL ResourceService::getExactName( const OUString & ApproximateName )
|
OUString SAL_CALL ResourceService::getExactName( const OUString & ApproximateName )
|
||||||
{
|
{
|
||||||
OUString aName( ApproximateName );
|
OUString aName( ApproximateName );
|
||||||
aName = aName.toLowerCase();
|
aName = aName.toAsciiLowerCase();
|
||||||
if( aName == OUString::createFromAscii("filename") )
|
if( aName == OUString::createFromAscii("filename") )
|
||||||
return OUString::createFromAscii("FileName");
|
return OUString::createFromAscii("FileName");
|
||||||
else if( aName == OUString::createFromAscii("getstring" ))
|
else if( aName == OUString::createFromAscii("getstring" ))
|
||||||
|
Reference in New Issue
Block a user