[Libreoffice-commits] core.git: vcl/source

Anshu (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 19 07:53:22 UTC 2021


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

New commits:
commit 474398937b5d53d5c7ab30a877f8b663e6963b02
Author:     Anshu <anshukhare50 at gmail.com>
AuthorDate: Thu Jan 7 14:59:49 2021 +0530
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Tue Jan 19 08:52:31 2021 +0100

    tdf#138890 : weld::LabelType::Warning font color in dark themes
    
    Change-Id: Ia0315037b0edee921a6a24b23673ad04c7821388
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108929
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index d10a2450d5c0..7470800b28d8 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -3187,7 +3187,7 @@ void SalInstanceEntry::set_message_type(weld::EntryMessageType eType)
             // tdf#114603: enable setting the background to a different color;
             // relevant for GTK; see also #i75179#
             m_xEntry->SetForceControlBackground(true);
-            m_xEntry->SetControlForeground();
+            m_xEntry->SetControlForeground(COL_BLACK);
             m_xEntry->SetControlBackground(COL_YELLOW);
             break;
         case weld::EntryMessageType::Error:


More information about the Libreoffice-commits mailing list