cui/source/dialogs/about.cxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 79f5cb620984c4d04d53a497e698472b2192d2bb
Author: heiko tietze <tietze.he...@gmail.com>
Date:   Fri Jul 14 23:38:47 2017 +0200

    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 <c...@libreoffice.org>
    Reviewed-by: Heiko Tietze <tietze.he...@googlemail.com>

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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to