summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-29 01:08:22 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-29 02:56:25 +0200
commitd4f631e8ceb7f02a18565cf0470c8170215e69f8 (patch)
tree18e57202ddd1b0d0d29f61eec176c10c2baad9cd /sc/source
parent4911762d5e0c8f77c825f93a1fc6bec4831446ca (diff)
only clean the cond format if we want to write attribs, fdo#62267
Change-Id: I2f4feecb3180b165f6b9b299ecb3dcdbb65f87e3
Diffstat (limited to 'sc/source')
-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 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];