diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-15 15:35:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-18 10:46:12 +0200 |
commit | 3c3a371c799d00475deb13b4c3e0a8860c7e4fb3 (patch) | |
tree | 1ff5fdaa95d21f7cdd4e97257adf170b2c98347c /sc/inc/markdata.hxx | |
parent | e7ace9a5fa71bd722e7637285a22715729b620d1 (diff) |
tdf#125254 Performance: A spreadsheet opens too slow, part2
Optimise bulk construction of ScMarkArray.
This takes the opening time from 46s to 40.5s for me.
Change-Id: I3955fe9b2c3113dac2ae3cda97d692de1975e762
Reviewed-on: https://gerrit.libreoffice.org/72418
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/markdata.hxx')
-rw-r--r-- | sc/inc/markdata.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx index ca1443a5ace0..2052c23daa52 100644 --- a/sc/inc/markdata.hxx +++ b/sc/inc/markdata.hxx @@ -60,10 +60,10 @@ private: ScRangeList aLeftEnvelope; // list of ranges in the left envelope of the multi selection ScRangeList aRightEnvelope; // list of ranges in the right envelope of the multi selection - public: ScMarkData(); ScMarkData(const ScMarkData& rData); + ScMarkData(const ScRangeList& rList); ~ScMarkData(); ScMarkData& operator=(const ScMarkData& rData); |