summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-10 18:43:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-10 18:43:03 +0100
commit4bb684274b5d80d04260b7ed6f6adf361ef9a26f (patch)
tree7251c1f4cb6285c07ec7443a09ac0f2a79c50959 /unotools
parent68e2dd0dfbd7f1cec1771f68e65f46045365cf1f (diff)
This shall apparently check that aScheme is neither http nor https
...introduced when https was added in c21b8a1620808865d03239256221a6a86e6316f0 "INTEGRATION: CWS tkr05_SRC680: #31053# HTTPS WebDAV support" Change-Id: Id7c361a078008d66391771f26b9c35999404091f
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 1d38f4aa82e3..0ec9f4759dbf 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -875,7 +875,7 @@ static bool UCBOpenContentSync(
return _UCBOpenContentSync(
xLockBytes,xContent,rArg,xSink,xInteract,xProgress,xHandler);
- if ( !aScheme.equalsAscii( "http" ) ||
+ if ( !aScheme.equalsAscii( "http" ) &&
!aScheme.equalsAscii( "https" ) )
xLockBytes->SetStreamValid_Impl();