[Libreoffice-commits] core.git: sc/source

László Németh laszlo.nemeth at collabora.com
Tue Feb 17 09:13:20 PST 2015


 sc/source/core/data/dociter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a5ab0e3a8b1cb7c06072229e1c4d956eb81fa002
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Tue Feb 17 18:03:39 2015 +0100

    tdf#89436 handle skipping empty rows
    
    Change-Id: Ib29ad9210939fcbc236bfd7be211e21f791caac7

diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index d685b82..9a55e57 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -2321,7 +2321,7 @@ const ScPatternAttr* ScHorizontalAttrIterator::GetNext( SCCOL& rCol1, SCCOL& rCo
             return NULL; // Found nothing
         nCol = nStartCol; // Start at the left again
 
-        if ( bRepeatedRow && ! nMinNextEnd < nRow ) // use the data of the previous row
+        if ( !bRowEmpty && bRepeatedRow && ! nMinNextEnd < nRow ) // use the data of the previous row
            continue;
 
         bRepeatedRow = true; // ppPatterns is not modified


More information about the Libreoffice-commits mailing list