diff options
Diffstat (limited to 'sc/source/core/data/column.cxx')
-rw-r--r-- | sc/source/core/data/column.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index b687489cc276..800c200d3d44 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -1361,7 +1361,7 @@ void ScColumn::CopyCellToDocument( SCROW nSrcRow, SCROW nDestRow, ScColumn& rDes } ScBaseCell* pDestCell = - maItems[nSrcRow].pCell->Clone( + maItems[nIndex].pCell->Clone( *rDestCol.pDocument, ScAddress(rDestCol.nCol, nDestRow, rDestCol.nTab)); rDestCol.Insert(nDestRow, pDestCell); |