From dbbfcfed6f877ad2446daefe1083f42994f28a1f Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
Date: Thu, 10 Nov 2022 18:56:56 +0100
Subject: Drop counterproductive top-level consts

...that were apparently left by accident by
b4b4c129e9f00189978cd7b71fd74d0dca4c9ebc "clang-tidy modernize-pass-by-value in
ucb", thwarting the use of std::move here.

(I came across this code with an upcoming loplugin:constmove that flags
suspicious uses of std::move involving const-qualified types.)

Change-Id: I95867aea623913ed37d57cb7d9593654ec57487d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142564
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
---
 ucb/source/ucp/webdav-curl/DAVTypes.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.hxx b/ucb/source/ucp/webdav-curl/DAVTypes.hxx
index 66b0aee8ec49..e0f2e856030a 100644
--- a/ucb/source/ucp/webdav-curl/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-curl/DAVTypes.hxx
@@ -191,8 +191,8 @@ namespace http_dav_ucp
         css::uno::Any const       value;
 
         ProppatchValue( const ProppatchOperation o,
-                        const OUString n,
-                        const css::uno::Any v )
+                        OUString n,
+                        css::uno::Any v )
             : operation( o ), name( std::move(n) ), value( std::move(v) ) {}
     };
 } // namespace http_dav_ucp
-- 
cgit