summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-02-17 18:03:39 +0100
committerLászló Németh <laszlo.nemeth@collabora.com>2015-02-17 18:03:39 +0100
commita5ab0e3a8b1cb7c06072229e1c4d956eb81fa002 (patch)
tree2eddf146515a48bae39413e813895ff663ba9763
parentd6b28f0bfe5df0248b18e306c3144282f052c7f0 (diff)
tdf#89436 handle skipping empty rows
Change-Id: Ib29ad9210939fcbc236bfd7be211e21f791caac7
-rw-r--r--sc/source/core/data/dociter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index d685b8242c69..9a55e571bd97 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