diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2017-06-08 19:56:28 +0200 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2017-06-09 16:29:40 +0200 |
commit | f0821f9a347c7752a3c741c3451a2f1630173720 (patch) | |
tree | cbc76e9d40d1490af1595556b2c6f877a90f3eb8 /odk | |
parent | c8e3fea4996436d1fd608cf5ef0fdc18f5a8fd7f (diff) |
Cache text layout of statusbar items
Extend lifecycle of SalLayout created by the output device.
A layout is stored for each status bar item and used as a cache.
The layout may be updated through output device method parameters.
This way it's no longer necessary to calculate the layout again and again when
painting the status bar item multiple times, provided that its text does not
change.
Change-Id: I6494c2d6b676e8f4fdda2cde6165ff0755fd4fa2
Reviewed-on: https://gerrit.libreoffice.org/38578
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Tested-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'odk')
0 files changed, 0 insertions, 0 deletions