diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 07:46:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 09:44:09 +0200 |
commit | a8a461b2fba27f1a729e2b9b28426286617892a9 (patch) | |
tree | 8e05dfae5ef9b070dc54fcbd344ad591cf6e229c /connectivity/source/commontools/parameters.cxx | |
parent | tdf#120451: Use primary screen if requested screen doesn't exist (diff) | |
download | core-a8a461b2fba27f1a729e2b9b28426286617892a9.tar.gz core-a8a461b2fba27f1a729e2b9b28426286617892a9.zip |
clang-tidy performance-unnecessary-copy-init in canvas..cui
Change-Id: I08c137d852b5f1f817c171ee4f1cee7971417dc4
Reviewed-on: https://gerrit.libreoffice.org/62214
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools/parameters.cxx')
-rw-r--r-- | connectivity/source/commontools/parameters.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index ffa43f04644a..b3dfdd008c41 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -674,7 +674,7 @@ namespace dbtools try { // transfer the values from the continuation object to the parameter columns - Sequence< PropertyValue > aFinalValues = pParams->getValues(); + const Sequence< PropertyValue >& aFinalValues = pParams->getValues(); const PropertyValue* pFinalValues = aFinalValues.getConstArray(); for ( sal_Int32 i = 0; i < aFinalValues.getLength(); ++i, ++pFinalValues ) { |