[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sc/source

Arul Michael arul71.m at gmail.com
Fri May 12 19:04:45 UTC 2017


 sc/source/core/data/document.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit f55f0b57b1f206763e97065f6121fcb55c53e53d
Author: Arul Michael <arul71.m at gmail.com>
Date:   Thu Apr 27 10:32:10 2017 +0530

    tdf#106051 Notify listeners on top and bottom of split formula group
    
    Change-Id: Icecb59a476f57cee0c04c3e21d60e6c7fa12f65a
    Reviewed-on: https://gerrit.libreoffice.org/37011
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins <ci at libreoffice.org>
    (cherry picked from commit c882c60f54cc90740a674eed8c47bde0e9959652)
    Reviewed-on: https://gerrit.libreoffice.org/37543

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 80fb075988b8..ee69a89cc3f8 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -5849,6 +5849,12 @@ void ScDocument::DeleteSelection( InsertDeleteFlags nDelFlag, const ScMarkData&
                 if (pRange)
                     SetDirty( *pRange, true);
             }
+            //Notify listeners on top and bottom of the group that has been split
+            for (size_t i = 0; i < aGroupPos.size(); ++i) {
+                ScFormulaCell *pFormulaCell = GetFormulaCell(aGroupPos[i]);
+                if (pFormulaCell)
+                    pFormulaCell->SetDirty(true);
+            }
         }
     }
 }


More information about the Libreoffice-commits mailing list