summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-12 08:53:09 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-12 20:04:43 +0200
commit5e55d482b19812e2fc3063eb7e718d7013635b33 (patch)
tree3d665136a377c767722df565f8a8bc5e510e6c65 /toolkit
parent6f0f0bbaebfc0added603a04918324df58b6c27b (diff)
cid#1555962 Use of auto that causes a copy
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/grid/defaultgriddatamodel.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}