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

Eike Rathke erack at redhat.com
Sat May 11 14:40:23 PDT 2013


 sc/source/core/tool/interpr1.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit f21815f9fe2609dd4ea152c65bb98b77b0a141f7
Author: Eike Rathke <erack at redhat.com>
Date:   Fri May 10 18:13:07 2013 +0200

    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 at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 3ed9189..994bc2b 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 )
                 {


More information about the Libreoffice-commits mailing list