summaryrefslogtreecommitdiff
path: root/extensions/source/plugin
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/plugin
parentb82cc20db0f51f496f366cb4e759092a6af8f849 (diff)
rtl string api changes
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r--extensions/source/plugin/base/context.cxx6
-rw-r--r--extensions/source/plugin/base/manager.cxx8
2 files changed, 7 insertions, 7 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;