summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2017-07-14 23:38:47 +0200
committerHeiko Tietze <tietze.heiko@googlemail.com>2017-07-15 08:48:22 +0200
commit79f5cb620984c4d04d53a497e698472b2192d2bb (patch)
tree031e9ebd37a4e9a67fc48cf51fe80561b694c1ff /cui/source
parent8c82e4877181f55f2fe186b341d504e5782a4f9c (diff)
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 <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/about.cxx13
1 files changed, 0 insertions, 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()