summaryrefslogtreecommitdiff
path: root/sc/inc/rangenam.hxx
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2016-09-25 20:28:53 +0200
committerEike Rathke <erack@redhat.com>2016-11-28 13:54:04 +0000
commit852956a271578b9ad7c1ef2983381e109f2a8156 (patch)
treeab1dfc8592318cfe4ff7143afeb9d58537b9b0ab /sc/inc/rangenam.hxx
parent8035a9b8312a52c44290c729d1c303a8fe7a31d5 (diff)
tdf#43544 ScStyleObj: Only call StylePool->find() when necessary
Avoid repeatedly calling GetStyle() when setting/getting multiple properties. By caching the SfxStyleSheet before entering the loop over all properties, performance of loading the document attached to tdf#43544 improves by 12%. Change-Id: Ic3f1314892b4771aa87801b63f854f83ec761d41 Reviewed-on: https://gerrit.libreoffice.org/29274 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 9d99a7b2d1dd973b50a699440ffb69d99d614607) Reviewed-on: https://gerrit.libreoffice.org/31319
Diffstat (limited to 'sc/inc/rangenam.hxx')
0 files changed, 0 insertions, 0 deletions