From f71606c920a3f78294da745cd9ef1eacde010224 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Jun 2022 08:36:33 +0200 Subject: new loplugin:moveit look for local variables that can be std::move'd to parameters off by default, since it doesn't do proper data flow analysis Change-Id: I3403a0fcffd165bdea6a772528bc53995c5fdb40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135527 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/ucp/cmis/cmis_content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb') diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 59ad8df05118..64a4605adf02 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -230,7 +230,7 @@ namespace propertyType->setOpenChoice( bOpenChoice ); propertyType->setType( type ); - libcmis::PropertyPtr property( new libcmis::Property( propertyType, values ) ); + libcmis::PropertyPtr property( new libcmis::Property( propertyType, std::move(values) ) ); return property; } -- cgit