summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-06 20:32:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-08 07:28:43 +0200
commit2ad7e095078e09bc27608d5b1fedb8809656abbe (patch)
treea2d5a58603ab316f8303f054a453d02c80bc76d3 /svl
parent8167cc226960d635c9e68f603cb1ab2c57426828 (diff)
loplugin:moveparam in svl
Change-Id: I58c1ef97fd6cba281c90cc7ed9917e04b7f265ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123187 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/ilstitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/ilstitem.cxx b/svl/source/items/ilstitem.cxx
index d9ddeae2182e..0cb9ea8e6c49 100644
--- a/svl/source/items/ilstitem.cxx
+++ b/svl/source/items/ilstitem.cxx
@@ -31,9 +31,9 @@ SfxIntegerListItem::SfxIntegerListItem()
{
}
-SfxIntegerListItem::SfxIntegerListItem( sal_uInt16 which, const ::std::vector < sal_Int32 >& rList )
+SfxIntegerListItem::SfxIntegerListItem( sal_uInt16 which, ::std::vector < sal_Int32 >&& rList )
: SfxPoolItem( which )
- , m_aList( rList )
+ , m_aList( std::move(rList) )
{
}