summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorDeena Francis <deena.francis@gmail.com>2014-12-11 20:24:51 +0530
committerEike Rathke <erack@redhat.com>2015-01-07 13:27:18 +0000
commita0b05775fa9d400fb7eab382bf2e9df98ec76999 (patch)
treebc53f31c80421c0287bc3e22b18803177b69daaa /sc/source
parentf1dafcec55db9ee6b39c508df7f751d8a325f6a4 (diff)
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@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/documen4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index b29b1b6728b0..1f60868ff306 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());