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

Deena Francis deena.francis at gmail.com
Wed Jan 7 05:27:59 PST 2015


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

New commits:
commit a0b05775fa9d400fb7eab382bf2e9df98ec76999
Author: Deena Francis <deena.francis at gmail.com>
Date:   Thu Dec 11 20:24:51 2014 +0530

    fdo#81286 : Instant updates in SUM/AVERAGE in status bar
    
    Change-Id: Iec8b01eb15532d5e158732af5adf041399d99b30
    (cherry picked from commit 51eeb1424f2034708cc6e1ab1a4a771ce5586211)
    Reviewed-on: https://gerrit.libreoffice.org/13436
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index b29b1b6..1f60868 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -598,7 +598,7 @@ bool ScDocument::GetSelectionFunction( ScSubTotalFunc eFunc,
 
     ScMarkData aMark(rMark);
     aMark.MarkToMulti();
-    if (!aMark.IsMultiMarked())
+    if (!aMark.IsMultiMarked() && !aMark.IsCellMarked(rCursor.Col(), rCursor.Row(), false))
         aMark.SetMarkArea(rCursor);
 
     SCTAB nMax = static_cast<SCTAB>(maTabs.size());


More information about the Libreoffice-commits mailing list