summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon/webdavprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-neon/webdavprovider.cxx')
-rw-r--r--ucb/source/ucp/webdav-neon/webdavprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx
index 756783ac1a0d..cfaa4b6ef579 100644
--- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx
@@ -142,7 +142,7 @@ ContentProvider::queryContent(
if ( aURL.getLength() < ( aScheme.getLength() + 3 ) )
throw ucb::IllegalIdentifierException();
- if ( aURL.copy( aScheme.getLength(), 3 ) != "://" )
+ if ( !aURL.match("://", aScheme.getLength()) )
throw ucb::IllegalIdentifierException();
uno::Reference< ucb::XContentIdentifier > xCanonicId;