summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/dbase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-08 09:16:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-08 21:23:59 +0200
commit1cf57765dd9a66982ecf9cd33687005a70c70c3f (patch)
treec1658b2df36e37bae056cbfc73e6cc6f652c45cf /connectivity/source/drivers/dbase
parent36d43d4637ed6c1666617ac2d87f738bc34455af (diff)
loplugin:moveparam in connectivity
Change-Id: Ie5c2f6ec1573ab2c47218dd4da8c9150b23bcd2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123247 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/dbase')
-rw-r--r--connectivity/source/drivers/dbase/DDatabaseMetaData.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx b/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx
index 601f1585eaef..2f0dc0a8e85a 100644
--- a/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx
@@ -147,7 +147,7 @@ Reference< XResultSet > ODbaseDatabaseMetaData::impl_getTypeInfo_throw( )
aRows.push_back(aRow);
}
- pResult->setRows(aRows);
+ pResult->setRows(std::move(aRows));
return pResult;
}
@@ -245,7 +245,7 @@ Reference< XResultSet > SAL_CALL ODbaseDatabaseMetaData::getColumns(
throw WrappedTargetRuntimeException(e.Message, e.Context, e.TargetException);
}
rtl::Reference<::connectivity::ODatabaseMetaDataResultSet> pResult = new ::connectivity::ODatabaseMetaDataResultSet(::connectivity::ODatabaseMetaDataResultSet::eColumns);
- pResult->setRows(aRows);
+ pResult->setRows(std::move(aRows));
return pResult;
}
@@ -316,7 +316,7 @@ Reference< XResultSet > SAL_CALL ODbaseDatabaseMetaData::getIndexInfo(
}
rtl::Reference<::connectivity::ODatabaseMetaDataResultSet> pResult = new ::connectivity::ODatabaseMetaDataResultSet(::connectivity::ODatabaseMetaDataResultSet::eIndexInfo);
- pResult->setRows(aRows);
+ pResult->setRows(std::move(aRows));
return pResult;
}