summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-17 11:11:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-17 11:11:14 +0000
commitd3073bef2f2502469fe5bcc5a233d6170eea4ab6 (patch)
tree3d670ee680f5982a03ed9d54c116e2410e559f66 /ucb
parentf5334930664b89fb3c68dd0b5f7d49d51dcce055 (diff)
equalsAsciiL faster than equalsAscii
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filglob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index 716a49003e7c..1f073e81d157 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -224,7 +224,7 @@ namespace fileaccess {
if( aParent[ aParent.getLength()-1] == sal_Unicode(':') && aParent.getLength() == 6 )
aParent += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/"));
- if( 0 == aParent.compareToAscii( "file://" ) )
+ if( aParent.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("file://")) )
aParent = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///"));
return aParent;