summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table2.cxx
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 08:09:05 +0100
commitbc31db3f3315e7b80118f2070270769dd226de78 (patch)
treeaedfa0013ec556be8c27b13fc71b61258067f939 /sc/source/core/data/table2.cxx
parentf17de4b47672285dd28d83d059bef0aa10f6b51b (diff)
we want to delete anytime that attribs are overwritten, fdo#72149
Change-Id: I1ed50e6daf5b363c46e31d1a0efacf7728621b1a
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-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];