[Libreoffice-commits] .: sc/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Sun Jul 22 12:20:46 PDT 2012
sc/source/core/data/table2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 669784c6653732fd2ad43024332957d5df5652bb
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sun Jul 22 21:15:37 2012 +0200
use correct source table for cond format paste, fdo#52340
Change-Id: I7c4cb1a5f31ba9e37a280af2243a13c57914cb2f
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index a81d2ca..a78e7de 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -655,7 +655,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();
More information about the Libreoffice-commits
mailing list