summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 14:37:42 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 20:00:04 +0100
commit24cc5f55a04eeb6a9f286066c1389191b153a910 (patch)
tree1cf7b9bd81db0871b9572fca19c28f36bb9e92a3 /ucb/source
parentf4ce98bd1a1b183bb21c60b85e17dc6575f9ce98 (diff)
Extended loplugin:ostr: ucb
Change-Id: If6f818506ef7a596a6ea3af4185859b09c6d4d75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160096 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav-curl/CurlSession.cxx16
1 files changed, 8 insertions, 8 deletions
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);