From 5e55d482b19812e2fc3063eb7e718d7013635b33 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 12 Jul 2024 08:53:09 +0100 Subject: cid#1555962 Use of auto that causes a copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1556100 Use of auto that causes a copy cid#1556199 Use of auto that causes a copy cid#1556239 Use of auto that causes a copy cid#1556313 Use of auto that causes a copy cid#1556373 Use of auto that causes a copy cid#1556680 Use of auto that causes a copy cid#1557020 Use of auto that causes a copy cid#1557099 Use of auto that causes a copy cid#1557251 Use of auto that causes a copy cid#1557334 Use of auto that causes a copy cid#1557468 Use of auto that causes a copy Change-Id: Ib5ab5b33eabcac3d18899ceaaa9119e13b0139f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170412 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- toolkit/source/controls/grid/defaultgriddatamodel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/source/controls/grid/defaultgriddatamodel.cxx b/toolkit/source/controls/grid/defaultgriddatamodel.cxx index 83d15eb6dcec..0eca84e6e5cd 100644 --- a/toolkit/source/controls/grid/defaultgriddatamodel.cxx +++ b/toolkit/source/controls/grid/defaultgriddatamodel.cxx @@ -220,7 +220,7 @@ private: RowData& rRowData = impl_getRowDataAccess_throw( aGuard, i_rowIndex, m_nColumnCount ); ::std::transform( rRowData.begin(), rRowData.end(), resultData.getArray(), - [] ( const CellData& rCellData ) + [] ( const CellData& rCellData ) -> const Any& { return rCellData.first; }); return resultData; } -- cgit v1.2.3