[Libreoffice-commits] core.git: ucb/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Jul 12 06:33:31 UTC 2017


 ucb/source/ucp/webdav/webdavprovider.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c59804173be99e5ee922d859271c6660695d0ade
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Jul 12 08:32:39 2017 +0200

    fix the webdav=serf build after 65e4a776e8315fd61fd67ad00d28985b11f0b79e
    
    Change-Id: Ib00f60c8018e025f9d5955784b31f3110b4e40eb

diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx b/ucb/source/ucp/webdav/webdavprovider.cxx
index f25ed36a3c76..ac8f5a9042cc 100644
--- a/ucb/source/ucp/webdav/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav/webdavprovider.cxx
@@ -131,7 +131,7 @@ ContentProvider::queryContent(
     if ( aURL.getLength() < ( aScheme.getLength() + 3 ) )
         throw ucb::IllegalIdentifierException();
 
-    if ( !aURL.match( aScheme.getLength(), "://") )
+    if ( !aURL.match("://", aScheme.getLength()) )
         throw ucb::IllegalIdentifierException();
 
     uno::Reference< ucb::XContentIdentifier > xCanonicId;


More information about the Libreoffice-commits mailing list