From 79f5cb620984c4d04d53a497e698472b2192d2bb Mon Sep 17 00:00:00 2001 From: heiko tietze Date: Fri, 14 Jul 2017 23:38:47 +0200 Subject: [PATCH] tdf#109103 Non-standard font color in About dialog Wallpaper in dialogs with fix font colors isn't a good idea Change-Id: Ie97ebe6fd7ed3a52bcdc78204d7190b0e5683eb3 Reviewed-on: https://gerrit.libreoffice.org/39990 Tested-by: Jenkins Reviewed-by: Heiko Tietze --- cui/source/dialogs/about.cxx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index d7902df52d95..914c47438fcb 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -190,19 +190,6 @@ void AboutDialog::StyleControls() // Description Text aLargeFont.SetFontSize(Size(0, aLabelFont.GetFontSize().Height() * 1.3)); m_pDescriptionText->SetControlFont(aLargeFont); - - // Version Text - aLargeFont.SetFontSize(Size(0, aLabelFont.GetFontSize().Height() * 1.2)); - m_pVersion->SetControlFont(aLargeFont); - - // If not in high-contrast mode, hard-code colors - if (!rStyleSettings.GetHighContrastMode()) - { - m_pLogoReplacement->SetControlForeground(Color(51, 51, 51)); - m_pVersion->SetControlForeground(Color(102, 102, 102)); - m_pDescriptionText->SetControlForeground(Color(51, 51, 51)); - m_pCopyrightText->SetControlForeground(Color(102, 102, 102)); - } } void AboutDialog::SetLogo()