sc/source/core/data/column.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 48cfdaa4fa453af03d18832e3765ffd65a5e107f
Author: Caolán McNamara <caol...@redhat.com>
Date:   Mon Aug 19 16:14:31 2013 +0100

    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.yosh...@suse.de>
    Tested-by: Kohei Yoshida <kohei.yosh...@suse.de>

diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index b687489..800c200 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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to