diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-16 17:35:17 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-16 23:39:15 +0200 |
commit | 436b829f5b904d76039db0818cff5dedf1ae89f1 (patch) | |
tree | 1da08431fa6a277d781362dbb53f832d6f7f1645 /connectivity | |
parent | c5dc042219e9872937f9fe1cb68f2f03423f398e (diff) |
sw: save one vcl layout call in SwFntObj::DrawText()
Pressing a key in Writer used to lay out the relevant string 4 times
(counting GenericSalLayout::LayoutText() invocations), save one of them
by pre-calculating the layout and sharing it between GetTextArray() and
DrawTextArray().
Change-Id: Ic2194bdcbe94a546d57745463ae81e6b0cadcd92
Reviewed-on: https://gerrit.libreoffice.org/59208
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'connectivity')
0 files changed, 0 insertions, 0 deletions