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

New commits:
commit 2519e0aca7c0d479f7ff381d95929dbe47942503
Author: Mike Kaganski <mikekagan...@hotmail.com>
Date:   Fri Jun 5 00:10:24 2015 +1000

    tdf#90996: don't overwrite comments in ScTable::FillFormulaVertical
    
    IDF_CONTENTS includes IDF_NOTE, which should not be used here
    
    Change-Id: I904fbdbfcb97865a5682d9073e0ce2d5a2c694fb
    Reviewed-on: https://gerrit.libreoffice.org/16085
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index c82469b..2a2c150 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1170,7 +1170,7 @@ void ScTable::FillFormulaVertical(
     if (aSpans.empty())
         return;
 
-    aCol[nCol].DeleteRanges(aSpans, IDF_CONTENTS, false);
+    aCol[nCol].DeleteRanges(aSpans, IDF_VALUE | IDF_DATETIME | IDF_STRING | 
IDF_FORMULA | IDF_OUTLINE, false);
     aCol[nCol].CloneFormulaCell(rSrcCell, sc::CellTextAttr(), aSpans, NULL);
 
     boost::shared_ptr<sc::ColumnBlockPositionSet> pSet(new 
sc::ColumnBlockPositionSet(*pDocument));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to