diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-22 21:15:37 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-22 21:17:14 +0200 |
commit | 669784c6653732fd2ad43024332957d5df5652bb (patch) | |
tree | 62e28afb95eacd4f019e225e2ca91fa04ff5217c /sc | |
parent | 1ca7d3432c288f86710fff53674a021ef5e8e8ed (diff) |
use correct source table for cond format paste, fdo#52340
Change-Id: I7c4cb1a5f31ba9e37a280af2243a13c57914cb2f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index a81d2ca0fb5e..a78e7de17ba1 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(); |