summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-05-10 18:13:07 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-11 21:40:03 +0000
commitf21815f9fe2609dd4ea152c65bb98b77b0a141f7 (patch)
tree742efae60c38171b58616df1208fbbc6ee633a18
parent44d0e35a79051dba4342b7b954fbbf15f237f394 (diff)
resolved fdo#64384 check subtotal row filtered also for single reference
(cherry picked from commit 3c2d0acc871057573fe9ab45b8161fce70190e80) Conflicts: sc/source/core/tool/interpr1.cxx Change-Id: Ic00b9135021f2c5f76755efbe88fc1f12e655320 Reviewed-on: https://gerrit.libreoffice.org/3847 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/core/tool/interpr1.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 3ed918933666..994bc2b2b9a1 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -3990,6 +3990,10 @@ double ScInterpreter::IterateParameters( ScIterFunc eFunc, bool bTextAsZero )
++nCount;
break;
}
+ if (glSubTotal && pDok->RowFiltered( aAdr.Row(), aAdr.Tab()))
+ {
+ break;
+ }
ScBaseCell* pCell = GetCell( aAdr );
if ( pCell )
{