summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-05-10 18:13:07 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-05-13 10:34:19 +0000
commit2c84287f151f14a4a6204fef30546414cf3d27f8 (patch)
tree899cad25ca75f52ba79473b176c6185aff8168e1 /sc
parent81db9e3abd84e13e1597b43680ec865e1e9f64e0 (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/3848 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sc')
-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 f645ec73e49a..32f3a36e929b 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -3703,6 +3703,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 )
{