office-gobmx/svtools
Caolán McNamara 3b6e61c396 fix scrolling performance of listboxes with hundreds of entries
make it approximately infinitely faster

a) add a method AdjustEntryHeightAndRecalc that just does AdjustEntryHeight and
RecalcViewData and replace all the places that do the two of those together
with that utility

b) in our SetFont now only call AdjustEntryHeightAndRecalc if the new font is
different to the old font, ignoring color which doesn't have a bearing on row
size.

c) where we originally called SetFont(GetFont()), which would have triggered
AdjustEntryHeightAndRecalc, now call the new AdjustEntryHeightAndRecalc
explicitly.

The performance problem apparently a regression from
ac7acb0ab1 where we seem to now end up drawing on
ourself and calling SetFont on ourself rather than on a pImpl without an
overridden SetFont. So when we redraw on scrolling we triggered a cascade of
calculations and force text layout of every row.

Change-Id: I3c284c360f06ac383e8c38045fc4c2946f505b35
2013-04-25 20:27:13 +01:00
..
inc/pch update pch 2013-04-25 12:11:53 +02:00
langsupport Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
qa/unoapi
source fix scrolling performance of listboxes with hundreds of entries 2013-04-25 20:27:13 +01:00
uiconfig/ui
util
AllLangResTarget_svt.mk gbuild: drop empty use_packages calls 2013-04-24 05:18:15 +00:00
Executable_langsupport.mk Don't point to inc directories that don't exist any longer 2013-04-24 11:27:16 +03:00
JunitTest_svtools_unoapi.mk
Library_hatchwindowfactory.mk
Library_svt.mk gbuild: drop uses of removed packages 2013-04-24 05:18:03 +00:00
Makefile
Module_svtools.mk execute move of global headers 2013-04-23 22:20:31 +02:00
README
UIConfig_svt.mk

Tools on top of VCL. Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.