summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-14 14:40:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-14 18:09:35 +0200
commit6b6b81cae861a1e6463360d1b320c0d3e24de111 (patch)
treef9b175978fbea8958cfbd434cd7c7df961141711 /svtools
parent3039b7cae36abb7e9bfffa4fbbba023721376568 (diff)
list views are recalculating layout on every paint
instead of when the font changes since... commit b4bbb5e5d7b31caad2fbcc00382ad27df3c81001 Date: Sun May 17 22:56:46 2015 +0900 refactor how font, fg. and bg. are applied in widgets/controls Change-Id: I8c9ebeb8d85f2c8b5e5ddc0aa03b6d64b5348132 Reviewed-on: https://gerrit.libreoffice.org/39950 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 0686a8cd0fe0..bd8fab1f837d 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3594,7 +3594,6 @@ void SvTreeListBox::ApplySettings(vcl::RenderContext& rRenderContext)
aFont = rStyleSettings.GetFieldFont();
aFont.SetColor(rStyleSettings.GetWindowTextColor());
SetPointFont(rRenderContext, aFont);
- AdjustEntryHeightAndRecalc();
rRenderContext.SetTextColor(rStyleSettings.GetFieldTextColor());
rRenderContext.SetTextFillColor();