summaryrefslogtreecommitdiff
path: root/sc/inc/olinetab.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/olinetab.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/olinetab.hxx')
-rw-r--r--sc/inc/olinetab.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx
index ec0a83f38d42..27ec0d365375 100644
--- a/sc/inc/olinetab.hxx
+++ b/sc/inc/olinetab.hxx
@@ -136,6 +136,8 @@ public:
bool ManualAction(
SCCOLROW nStartPos, SCCOLROW nEndPos, bool bShow, const ScTable& rTable, bool bCol);
+ void finalizeImport(ScTable& rTable, bool bCol);
+
void RemoveAll();
};