summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex McMurchy1917 <mcmurchy1917-libreoffice@yahoo.co.uk>2018-06-12 08:09:49 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-06-13 09:46:22 +0200
commit3f31455fdd10309ab85fc3d324096698d3f38e5b (patch)
tree1439ec482fc411e01a074ea9fec1fdedc7ecffa2
parent215e5adf4977a175bb8cc89dcbd48ef443ac8f10 (diff)
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@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--vcl/source/control/imp_listbox.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}