summaryrefslogtreecommitdiff
path: root/ucb/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 20:39:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-11 12:42:53 +0200
commit819a4064ba03f230a4b2936662adbe56f478f8db (patch)
tree2b7c6b23fc280106b6e67346496da21220ea4fe1 /ucb/qa
parent6a3cb1545290d822455b7c3259702a1d1afc8ef9 (diff)
loplugin:moveparam in ucb
Change-Id: I61a7910f3ef15b251b1763b7c56848ccbb22fe91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123352 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/qa')
-rw-r--r--ucb/qa/cppunit/webdav/webdav_propfindcache.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx b/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx
index 29ccf8a462be..03ccdbe7aae7 100644
--- a/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx
+++ b/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx
@@ -78,7 +78,7 @@ namespace
std::vector< DAVResourceInfo > aProps { aSingleInfo };
std::vector< DAVResourceInfo > aRetProp;
- aPropsNames.setPropertiesNames( aProps );
+ aPropsNames.setPropertiesNames( std::vector(aProps) );
aRetProp = aPropsNames.getPropertiesNames();
CPPUNIT_ASSERT_EQUAL( true, ( aProps == aRetProp ) );
@@ -112,7 +112,7 @@ namespace
std::vector< DAVResourceInfo > aProps { aSingleInfo };
// add the cache an element
- aPropsNames.setPropertiesNames( aProps );
+ aPropsNames.setPropertiesNames( std::vector(aProps) );
PropCache.addCachePropertyNames( aPropsNames );
PropertyNames aRetPropsNames;