summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-29 01:08:22 +0200
committerBosdonnat Cedric <cedric.bosdonnat@free.fr>2013-07-01 13:27:02 +0000
commit336d684a940165d15b3581a72d8bd45743bf98ee (patch)
treeddfb6a7cfc5b9995700e7ca9ac7066f0535bcd5d /sc
parent9b557cfd01131544639285dace81e11ed3c49aa7 (diff)
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 <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'sc')
-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 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];