ucb/source/ucp/webdav-curl/CurlSession.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
New commits: commit 24cc5f55a04eeb6a9f286066c1389191b153a910 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Wed Nov 29 14:37:42 2023 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Nov 29 20:00:04 2023 +0100 Extended loplugin:ostr: ucb Change-Id: If6f818506ef7a596a6ea3af4185859b09c6d4d75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160096 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx b/ucb/source/ucp/webdav-curl/CurlSession.cxx index c07919b6d4b7..a54e9d1addfb 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.cxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx @@ -1591,13 +1591,13 @@ auto CurlProcessor::PropFind( switch (nDepth) { case DAVZERO: - depth = "Depth: 0"; + depth = "Depth: 0"_ostr; break; case DAVONE: - depth = "Depth: 1"; + depth = "Depth: 1"_ostr; break; case DAVINFINITY: - depth = "Depth: infinity"; + depth = "Depth: infinity"_ostr; break; default: assert(false); @@ -2275,13 +2275,13 @@ auto CurlSession::LOCK(OUString const& rURIReference, ucb::Lock /*const*/& rLock switch (rLock.Depth) { case ucb::LockDepth_ZERO: - depth = "Depth: 0"; + depth = "Depth: 0"_ostr; break; case ucb::LockDepth_ONE: - depth = "Depth: 1"; + depth = "Depth: 1"_ostr; break; case ucb::LockDepth_INFINITY: - depth = "Depth: infinity"; + depth = "Depth: infinity"_ostr; break; default: assert(false); @@ -2295,10 +2295,10 @@ auto CurlSession::LOCK(OUString const& rURIReference, ucb::Lock /*const*/& rLock switch (rLock.Timeout) { case -1: - timeout = "Timeout: Infinite"; + timeout = "Timeout: Infinite"_ostr; break; case 0: - timeout = "Timeout: Second-180"; + timeout = "Timeout: Second-180"_ostr; break; default: timeout = "Timeout: Second-" + OString::number(rLock.Timeout);