From b3579d71c6536ab1d03cc47249d582a574fd054a Mon Sep 17 00:00:00 2001 From: obo Date: Wed, 23 Jun 2010 13:38:34 +0200 Subject: koheirowlimitperf: #i109369# #i109373# #i109384# #i109385# #i109386# #i109387# #i109388# #i109389# #i109391# #i109934# #i109935# #i110116# #i111531# #i111887# #i112190# #i30215# increased the row limit to 1 million, and integrated lots of speed optimization and bug fixes to ensure Calc remains usable after the row limit increase. --- sc/inc/dociter.hxx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'sc/inc/dociter.hxx') diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index f7216b9cff48..d995550a2f1d 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -36,6 +36,8 @@ #include +#include + class ScDocument; class ScBaseCell; class ScPatternAttr; @@ -511,6 +513,23 @@ public: const ScBaseCell* GetCell() const { return pFoundCell; } }; +// ============================================================================ + +class ScRowBreakIterator +{ +public: + static SCROW NOT_FOUND; + + explicit ScRowBreakIterator(::std::set& rBreaks); + SCROW first(); + SCROW next(); + +private: + ::std::set& mrBreaks; + ::std::set::const_iterator maItr; + ::std::set::const_iterator maEnd; +}; + #endif -- cgit