summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-06 19:45:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-06 21:17:18 +0200
commit6d200d8e739595bd4c6310bede7d66e3c05fbb85 (patch)
tree21fb6b69a606d341ca93ae900b91d3d687ddcc1b /ucbhelper
parent7c3990c38ddc5e69c89d9cb0c1a521f144e852f7 (diff)
loplugin:moveparam in ucbhelper
Change-Id: I1b9cc0366fb8e9b2525a56816ae4f76737a31b73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123184 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/provider/resultsetmetadata.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx
index fe3d2b7c1e1f..ef4f678b9f5f 100644
--- a/ucbhelper/source/provider/resultsetmetadata.cxx
+++ b/ucbhelper/source/provider/resultsetmetadata.cxx
@@ -63,8 +63,8 @@ struct ResultSetMetaData_Impl
: m_aColumnData( nSize ), m_bObtainedTypes( false ) {}
explicit ResultSetMetaData_Impl(
- const std::vector< ::ucbhelper::ResultSetColumnData >& rColumnData )
- : m_aColumnData( rColumnData ), m_bObtainedTypes( false ) {}
+ std::vector< ::ucbhelper::ResultSetColumnData >&& rColumnData )
+ : m_aColumnData( std::move(rColumnData) ), m_bObtainedTypes( false ) {}
};
}
@@ -90,8 +90,8 @@ ResultSetMetaData::ResultSetMetaData(
ResultSetMetaData::ResultSetMetaData(
const Reference< XComponentContext >& rxContext,
const Sequence< Property >& rProps,
- const std::vector< ResultSetColumnData >& rColumnData )
-: m_pImpl( new ResultSetMetaData_Impl( rColumnData ) ),
+ std::vector< ResultSetColumnData >&& rColumnData )
+: m_pImpl( new ResultSetMetaData_Impl( std::move(rColumnData) ) ),
m_xContext( rxContext ),
m_aProps( rProps )
{