summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-14 14:40:47 +0100
committerJan Holesovsky <kendy@collabora.com>2017-07-24 18:12:59 +0200
commit1908a229514f8681bdfef52eaf832f7922748bdc (patch)
treeeefa5804a4074765e3a15f25218a952910a7e7a1
parent748941df6d4d1e441c7996043ca2fef5cf706442 (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> Reviewed-on: https://gerrit.libreoffice.org/40192 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
-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 5239e362bae1..14baee04e1ec 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3595,7 +3595,6 @@ void SvTreeListBox::ApplySettings(vcl::RenderContext& rRenderContext)
aFont = rStyleSettings.GetFieldFont();
aFont.SetColor(rStyleSettings.GetWindowTextColor());
SetPointFont(rRenderContext, aFont);
- AdjustEntryHeightAndRecalc();
rRenderContext.SetTextColor(rStyleSettings.GetFieldTextColor());
rRenderContext.SetTextFillColor();