summaryrefslogtreecommitdiff
path: root/sc/inc/documentimport.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2016-02-09 04:26:49 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-02-15 02:59:23 +0000
commita8232b30687879f31768b89f4ff0bcf9457a7e77 (patch)
treeeea598741d8b543303b861e2bb8f5f99f7823aca /sc/inc/documentimport.hxx
parent8c125eca7f8a0dd2d59678cff2574bbccc70e536 (diff)
tdf#94858, avoid O(n^2) algorithm during outline import
The old code set called the outline visibility code for each row. Now we are just calling it once at the end of the import. Change-Id: Ie19f8bd538495cb50a7618156aed8de832885c2a Reviewed-on: https://gerrit.libreoffice.org/22239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/inc/documentimport.hxx')
-rw-r--r--sc/inc/documentimport.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx
index fc1c7c41a9a5..e90be0b331e6 100644
--- a/sc/inc/documentimport.hxx
+++ b/sc/inc/documentimport.hxx
@@ -103,6 +103,8 @@ public:
*/
void setAttrEntries( SCTAB nTab, SCCOL nCol, Attrs& rAttrs );
+ void setRowsVisible(SCTAB nTab, SCROW nRowStart, SCROW nRowEnd, bool bVisible);
+
void finalize();
private: