summaryrefslogtreecommitdiff
path: root/framework/source/helper/ocomponentaccess.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-11 16:10:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-11 18:36:53 +0200
commit8a499b4364dfdf3f921c9ea0cca71dd7bca32cb4 (patch)
treeb36197222abce72741ccc6b0da4b38beebdf332f /framework/source/helper/ocomponentaccess.cxx
parent0eb51b92e0c528b2b5c1f0d8011b70c808c81605 (diff)
loplugin:moveparam in framework
Change-Id: I423fa6a4f4fea5a27ec69f65dac952eff42d3d99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123418 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/helper/ocomponentaccess.cxx')
-rw-r--r--framework/source/helper/ocomponentaccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx
index bfb4113eab4d..ad7409990d25 100644
--- a/framework/source/helper/ocomponentaccess.cxx
+++ b/framework/source/helper/ocomponentaccess.cxx
@@ -68,7 +68,7 @@ css::uno::Reference< XEnumeration > SAL_CALL OComponentAccess::createEnumeration
std::vector< css::uno::Reference< XComponent > > seqComponents;
impl_collectAllChildComponents( css::uno::Reference< XFramesSupplier >( xLock, UNO_QUERY ), seqComponents );
- xReturn = new OComponentEnumeration( seqComponents );
+ xReturn = new OComponentEnumeration( std::move(seqComponents) );
}
// Return result of this operation.