sc/source/core/data/table2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 336d684a940165d15b3581a72d8bd45743bf98ee
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Sat Jun 29 01:08:22 2013 +0200

    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.bosdon...@free.fr>
    Tested-by: Bosdonnat Cedric <cedric.bosdon...@free.fr>

diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 5df2ac1..a44c602 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];
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to