diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2016-02-09 04:26:49 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-15 02:59:23 +0000 |
commit | a8232b30687879f31768b89f4ff0bcf9457a7e77 (patch) | |
tree | eea598741d8b543303b861e2bb8f5f99f7823aca /sc/inc/olinetab.hxx | |
parent | 8c125eca7f8a0dd2d59678cff2574bbccc70e536 (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.hxx | 2 |
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(); }; |