summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:48:13 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:48:13 +0000
commit7924382bc93d99aca54950a8a7ae31ae5f225060 (patch)
tree1b9514d79b3a742367080cee303d0691a335f5d0 /unotools/source/ucbhelper
parentee0a89cb74cf33e02c722f6d73dd6c4da4c50025 (diff)
INTEGRATION: CWS ineturl1 (1.17.144); FILE MERGED
2004/09/30 10:53:08 cmc 1.17.144.1: #i34006# modify INetURLObject to use rtl::OUString and rtl::OUStringBuffer
Diffstat (limited to 'unotools/source/ucbhelper')
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index e53480ff3bc3..95d7de565408 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucbhelper.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:39:53 $
+ * last change: $Author: hr $ $Date: 2004-12-13 12:48:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -781,7 +781,7 @@ sal_Bool UCBContentHelper::Find( const String& rFolder, const String& rName, Str
// get the last name of the URLs and compare it with rName
INetURLObject aFileObject( pFiles[i] );
String aFile = aFileObject.getName(
- INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).ToLowerAscii();
+ INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).toAsciiLowerCase();
if ( bWild && WildCard( rName ).Matches( aFile ) || aFile == rName )
{
// names match
@@ -818,7 +818,7 @@ sal_Bool UCBContentHelper::Exists( const String& rURL )
sal_Bool bRet = sal_False;
INetURLObject aObj( rURL );
::rtl::OUString aFileName = aObj.getName(
- INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).ToLowerAscii();
+ INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).toAsciiLowerCase();
aObj.removeSegment();
aObj.removeFinalSlash();
@@ -832,7 +832,7 @@ sal_Bool UCBContentHelper::Exists( const String& rURL )
// get the last name of the URLs and compare it with rName
INetURLObject aFileObject( pFiles[i] );
::rtl::OUString aFile = aFileObject.getName(
- INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).ToLowerAscii();
+ INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ).toAsciiLowerCase();
if ( aFile == aFileName )
{
// names match