diff options
Diffstat (limited to 'ucb/source/ucp/webdav/webdavprovider.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/webdavprovider.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx b/ucb/source/ucp/webdav/webdavprovider.cxx index b782b048f941..cb2dc41232fe 100644 --- a/ucb/source/ucp/webdav/webdavprovider.cxx +++ b/ucb/source/ucp/webdav/webdavprovider.cxx @@ -197,9 +197,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; |