[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 29 14:45:17 UTC 2018


 vcl/source/control/imp_listbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db55d2a53af04a88ba070e619760f573e89e12fd
Author:     Alex McMurchy1917 <mcmurchy1917-libreoffice at yahoo.co.uk>
AuthorDate: Tue Jun 12 08:09:49 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Aug 29 16:44:48 2018 +0200

    tdf#109353 - Base: Listbox doesn't show a value.
    
    This is because text in box is same colour as the background.
    This is only an issue for Linux/KDE.
    This change fixes this issue.
    
    Change-Id: Icb908ace25c69fd2fb51f8f44082ca6b00f55c43
    Reviewed-on: https://gerrit.libreoffice.org/55660
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    (cherry picked from commit 3f31455fdd10309ab85fc3d324096698d3f38e5b)
    Reviewed-on: https://gerrit.libreoffice.org/59563
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index f4100e13089d..32a82b1ac2cf 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -2693,7 +2693,7 @@ void ImplWin::ImplDraw(vcl::RenderContext& rRenderContext, bool bLayout)
                 if( bNativeOK && (nState & ControlState::ROLLOVER) )
                     aColor = rStyleSettings.GetFieldRolloverTextColor();
                 else
-                    aColor = rStyleSettings.GetHighlightTextColor();
+                    aColor = rStyleSettings.GetFieldTextColor();
                 rRenderContext.SetTextColor( aColor );
                 rRenderContext.DrawRect( maFocusRect );
             }


More information about the Libreoffice-commits mailing list