sc/source/core/data/table2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8ac1d7cc1d825e53d42aac699b077ffddb9c8769 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Jul 22 21:15:37 2012 +0200 use correct source table for cond format paste, fdo#52340 Change-Id: I7c4cb1a5f31ba9e37a280af2243a13c57914cb2f (cherry picked from commit 669784c6653732fd2ad43024332957d5df5652bb) Signed-off-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 18dfda4..9dd2afb 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -658,7 +658,7 @@ void ScTable::CopyConditionalFormat( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCRO ScConditionalFormatList* pOldCondFormatList = pTable->mpCondFormatList.get(); for(SCCOL i = nCol1; i <= nCol2; ++i) { - ScAttrIterator* pIter = aCol[i-nDx].CreateAttrIterator( nRow1-nDy, nRow2-nDy ); + ScAttrIterator* pIter = pTable->aCol[i-nDx].CreateAttrIterator( nRow1-nDy, nRow2-nDy ); SCROW nStartRow = 0, nEndRow = 0; const ScPatternAttr* pPattern = pIter->Next( nStartRow, nEndRow ); sal_uInt32 nId = ((SfxUInt32Item&)pPattern->GetItem(ATTR_CONDITIONAL)).GetValue(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits