diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-22 21:15:37 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-23 11:53:04 -0400 |
commit | aeebb0d20c6163ecbea47bb84fc83dd34b1438fa (patch) | |
tree | 6cac3810880643ce83e7d177e612a85b4813706d | |
parent | 734b653a95a88478ca53d7010aefc82ad78f6740 (diff) |
use correct source table for cond format paste, fdo#52340
(cherry picked from commit 669784c6653732fd2ad43024332957d5df5652bb)
Change-Id: I7c4cb1a5f31ba9e37a280af2243a13c57914cb2f
Signed-off-by: Eike Rathke <erack@redhat.com>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
-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 18dfda4d258a..9dd2afbb4f33 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(); |