diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-19 16:47:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-19 19:04:43 +0200 |
commit | bfe3479e99b5f94e5afefb3af88726786857fcb5 (patch) | |
tree | 27396b7cc0e7f5e67733117698fe11fb606b772b /sw/inc/IDocumentRedlineAccess.hxx | |
parent | 4701d17bfe785f00958ad58a63dc0ece4c5c3281 (diff) |
tdf#119840 reduce lines we need to scan in CompressRedlines
.. to start at the point we modified things.
Reduces load time by approx 10%
Change-Id: I37214247f0cb7b1246c498aba6c2085bf12a21aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137233
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/IDocumentRedlineAccess.hxx')
-rw-r--r-- | sw/inc/IDocumentRedlineAccess.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx index c627b3508850..24073b25930c 100644 --- a/sw/inc/IDocumentRedlineAccess.hxx +++ b/sw/inc/IDocumentRedlineAccess.hxx @@ -174,7 +174,7 @@ public: /*[in]*/RedlineType nType, /*[in]*/bool bStartOrEndInRange) const = 0; - virtual void CompressRedlines() = 0; + virtual void CompressRedlines(size_t nStartIndex = 0) = 0; virtual const SwRangeRedline* GetRedline( /*[in]*/const SwPosition& rPos, |