diff options
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx index fa2a36483891..f0576e049aad 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx @@ -1081,7 +1081,7 @@ void DAVResourceAccess::getUserRequestHeaders( if ( xDAVEnv.is() ) { - uno::Sequence< beans::StringPair > aRequestHeaders + const uno::Sequence< beans::StringPair > aRequestHeaders = xDAVEnv->getUserRequestHeaders( rURI, eMethod ); for ( const auto& rRequestHeader : aRequestHeaders ) diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 92534b376201..b360f300265a 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2958,7 +2958,7 @@ Content::ResourceType Content::resourceTypeForLocks( if ( m_xCachedProps->getValue( DAVProperties::SUPPORTEDLOCK ) >>= aSupportedLocks ) //get the cached value for supportedlock { - for ( const auto& rSupportedLock : aSupportedLocks ) + for ( const auto& rSupportedLock : std::as_const(aSupportedLocks) ) { if ( rSupportedLock.Scope == ucb::LockScope_EXCLUSIVE && |