summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-02 06:05:19 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-02 07:41:17 +0100
commit7c2936757ca10ccb692b05e6564783313f3576d1 (patch)
treef2447f28c6dcd3e90f084fe5d27209e98c4653e4
parentb8f21d26ff115e8e1e0fd022b3dc906945db7793 (diff)
we want to delete anytime that attribs are overwritten, fdo#72149
Change-Id: I1ed50e6daf5b363c46e31d1a0efacf7728621b1a
-rw-r--r--sc/source/core/data/table2.cxx2
1 files changed, 1 insertions, 1 deletions
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];