[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - svtools/source

Caolán McNamara caolanm at redhat.com
Mon Jul 17 10:30:00 UTC 2017


 svtools/source/contnr/treelistbox.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit ef576f69942ff5ffcdc22293c3a8d3a6a84cbca1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 14 14:40:47 2017 +0100

    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/39980
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 17da61af2333..3230e19ae405 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3593,7 +3593,6 @@ void SvTreeListBox::ApplySettings(vcl::RenderContext& rRenderContext)
     aFont = rStyleSettings.GetFieldFont();
     aFont.SetColor(rStyleSettings.GetWindowTextColor());
     SetPointFont(rRenderContext, aFont);
-    AdjustEntryHeightAndRecalc();
 
     rRenderContext.SetTextColor(rStyleSettings.GetFieldTextColor());
     rRenderContext.SetTextFillColor();


More information about the Libreoffice-commits mailing list