summaryrefslogtreecommitdiff
path: root/ridljar
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2016-09-20 20:27:04 +0200
committerAndras Timar <andras.timar@collabora.com>2016-10-10 21:13:15 +0200
commit5ee0cf887301ea0e994e3ec7299f4958808fc2d8 (patch)
tree038fc0685efe38df1d625f7328f79dfba9be8474 /ridljar
parentdf53a5f695b37bdd3eef57203fc0a3f4c95dbeea (diff)
tdf#53698: Cache more than 1 item in NumberFormatCodeMapper
In zforlist.cxx the function SvNumberFormatter::GetPreviewStringGuess switches between the system locale and en_US in order to guess the formatting of a number. This results in poor performance, because in the created SvNumberFormat only the last used locale is cached. Caching more than 1 entries improves the load time for the document attached to tdf#53698 from 90s to 60s in case of non en_US locales. Change-Id: Id0eb4447dea6213015e2d958d8303a1e7892487a Reviewed-on: https://gerrit.libreoffice.org/29136 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 450a2fd5e2dafd1a0c08e73ef85db978f6b1a927)
Diffstat (limited to 'ridljar')
0 files changed, 0 insertions, 0 deletions