From a8a461b2fba27f1a729e2b9b28426286617892a9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Oct 2018 07:46:34 +0200 Subject: 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 --- connectivity/source/commontools/parameters.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/source/commontools/parameters.cxx') 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 ) { -- cgit