From bc31db3f3315e7b80118f2070270769dd226de78 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 2 Dec 2013 06:05:19 +0100 Subject: we want to delete anytime that attribs are overwritten, fdo#72149 Change-Id: I1ed50e6daf5b363c46e31d1a0efacf7728621b1a --- sc/source/core/data/table2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/core') diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index d7fca4f9eb69..30771ab49090 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -662,7 +662,7 @@ void ScTable::CopyFromClip( for ( SCCOL i = nCol1; i <= nCol2; i++) aCol[i].CopyFromClip(rCxt, nRow1, nRow2, nDy, pTable->aCol[i - nDx]); // notes are handles at column level - if (rCxt.getInsertFlag() == IDF_ATTRIB) + 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