summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-05-14 08:43:44 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-05-14 08:43:44 +0000
commitc9ad45da3e262aa8fc1eee457ce28d2f9f3edb5e (patch)
treef2b3d05480c658d9ba20e343e11fe6a4025c944c /extensions/source
parentb82cc20db0f51f496f366cb4e759092a6af8f849 (diff)
rtl string api changes
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/plugin/base/context.cxx6
-rw-r--r--extensions/source/plugin/base/manager.cxx8
-rw-r--r--extensions/source/resource/resource.cxx6
3 files changed, 10 insertions, 10 deletions
diff --git a/extensions/source/plugin/base/context.cxx b/extensions/source/plugin/base/context.cxx
index 6c5f53d5dd89..063b707858b7 100644
--- a/extensions/source/plugin/base/context.cxx
+++ b/extensions/source/plugin/base/context.cxx
@@ -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 );
diff --git a/extensions/source/plugin/base/manager.cxx b/extensions/source/plugin/base/manager.cxx
index 02dfc40adb50..0f8712cc819c 100644
--- a/extensions/source/plugin/base/manager.cxx
+++ b/extensions/source/plugin/base/manager.cxx
@@ -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;
diff --git a/extensions/source/resource/resource.cxx b/extensions/source/resource/resource.cxx
index 0ee8da292ac3..4c989f163f6d 100644
--- a/extensions/source/resource/resource.cxx
+++ b/extensions/source/resource/resource.cxx
@@ -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" ))