diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-19 16:14:31 +0100 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.de> | 2013-08-19 15:18:31 +0000 |
commit | 48cfdaa4fa453af03d18832e3765ffd65a5e107f (patch) | |
tree | f0c51513f04e623b1ab23269eb1639ec1c077925 | |
parent | 464719988fc97c0bba6c3557ba1aed35188be8c3 (diff) |
Resolves: fdo#68220 wrong index into source table
code in master is all very different, so 4-1-* only I think
Change-Id: I9277faa462b66a38c7da3ba9a92b0381c67cfe23
Reviewed-on: https://gerrit.libreoffice.org/5515
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
-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); |