summaryrefslogtreecommitdiff
path: root/sc/inc/dociter.hxx
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-02-28 01:40:13 +0100
committerLászló Németh <laszlo.nemeth@collabora.com>2015-02-28 01:49:39 +0100
commit3d586d61d6a2b314783203d92fb0c1b62ea0e95e (patch)
tree015355f46ca0b559d944d4b0a418deee592ad0ca /sc/inc/dociter.hxx
parentf5b00ec964a9b4320543028e77fb6acb25f70e74 (diff)
tdf#89436 ScHorizontalAttrIterator cleanup
+ optimization (removing cycle on cells with default attributes) Change-Id: I4441fab13cb8ba6251d8524db4045e22514436fa
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r--sc/inc/dociter.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 65023b0434dd..838c100ce643 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -487,7 +487,7 @@ private:
SCROW nEndRow;
SCROW* pNextEnd;
- SCCOL* pPrevColEnd;
+ SCCOL* pHorizEnd;
SCSIZE* pIndices;
const ScPatternAttr** ppPatterns;
SCCOL nCol;
@@ -496,6 +496,9 @@ private:
bool bRepeatedRow;
SCROW nMinNextEnd;
+ void InitForNextRow(bool bInitialization);
+ bool InitForNextAttr();
+
public:
ScHorizontalAttrIterator( ScDocument* pDocument, SCTAB nTable,
SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 );