summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeena Francis <deena.francis@gmail.com>2014-12-08 03:35:56 +0530
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-11 07:55:53 +0100
commit51eeb1424f2034708cc6e1ab1a4a771ce5586211 (patch)
treecb2be36b4101661d9b57a84fed5ed56286568859
parenta92c1939bf85ceb6e16ebc9fd8aa4c79eed20a2a (diff)
fdo#81286 : Instant updates in SUM/AVERAGE in status bar
Change-Id: I86ec7c73090b93cf080ced2bd5e24d98e2b3ac0e
-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());