From 336d684a940165d15b3581a72d8bd45743bf98ee 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 (cherry picked from commit d4f631e8ceb7f02a18565cf0470c8170215e69f8) Reviewed-on: https://gerrit.libreoffice.org/4613 Reviewed-by: Bosdonnat Cedric Tested-by: Bosdonnat Cedric --- sc/source/core/data/table2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 5df2ac12f636..a44c60221cb8 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -775,7 +775,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