From d4f631e8ceb7f02a18565cf0470c8170215e69f8 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 29 Jun 2013 01:08:22 +0200 Subject: only clean the cond format if we want to write attribs, fdo#62267 Change-Id: I2f4feecb3180b165f6b9b299ecb3dcdbb65f87e3 --- sc/source/core/data/table2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index cec467913326..62dd91e0354b 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -773,7 +773,7 @@ void ScTable::CopyFromClip( aCol[i].CopyFromClip(rCxt, nRow1, nRow2, nDy, pTable->aCol[i - nDx]); - if (rCxt.getInsertFlag() != IDF_OBJECTS) + if (rCxt.getInsertFlag() == IDF_ATTRIB) { // make sure that there are no old references to the cond formats sal_uInt16 nWhichArray[2]; -- cgit v1.2.3