tdf#136991 reorganise lcl_ExportHints loop
commita0dd4cd98504124362524727c5f9eae731c1944f
authorNoel Grandin <noel.grandin@collabora.co.uk>
Wed, 3 May 2023 13:07:15 +0000 (3 15:07 +0200)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Wed, 3 May 2023 16:33:58 +0000 (3 18:33 +0200)
tree53cfca7266f09d872875c7b0ae6212fbe1d3f045
parentfeb2bec3c3f02881df3f447a72e4d9f214e1481b
tdf#136991 reorganise lcl_ExportHints loop

to reduce some CPU cycles by avoid calling GetSortedByEnd multiple times
for the same key.

Change-Id: I2c77c1f70f3c7d3e2f5801edfacc2e511d7b375f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151324
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
sw/source/core/unocore/unoportenum.cxx