diff options
Diffstat (limited to 'ucb/source/ucp/webdav-neon/webdavprovider.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavprovider.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx index 389b0c5d466f..616d1bd664e6 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx @@ -134,9 +134,7 @@ ContentProvider::queryContent( if ( aURL.getLength() < ( aScheme.getLength() + 3 ) ) throw ucb::IllegalIdentifierException(); - if ( ( aURL.getStr()[ aScheme.getLength() ] != sal_Unicode( ':' ) ) || - ( aURL.getStr()[ aScheme.getLength() + 1 ] != sal_Unicode( '/' ) ) || - ( aURL.getStr()[ aScheme.getLength() + 2 ] != sal_Unicode( '/' ) ) ) + if ( aURL.copy( aScheme.getLength(), 3 ) != "://" ) throw ucb::IllegalIdentifierException(); uno::Reference< ucb::XContentIdentifier > xCanonicId; |