diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-21 11:09:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-21 12:50:36 +0200 |
commit | 06be436363f1b9d72a19aba7c1e6df3fcf6c7844 (patch) | |
tree | c986c76ab889fe3b603a165226496cbd81a840bb /vcl | |
parent | 40b25aad84cbc6d57ec226427c708406522d0b4c (diff) |
ditch archaic Russian-only ui font tweak
Change-Id: Ib45ea8cebe5f4069e05353bc5f1be6b67045a18c
Reviewed-on: https://gerrit.libreoffice.org/81216
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/window/salframe.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index bb6a6fed2e44..efb9f2a5c301 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -2724,18 +2724,6 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings ) aStyleSettings.SetFloatTitleFont( aFloatTitleFont ); aStyleSettings.SetHelpFont( aHelpFont ); aStyleSettings.SetIconFont( aIconFont ); - // We prefer Arial in the russian version, because MS Sans Serif - // is too wide for the dialogs - if ( rSettings.GetLanguageTag().getLanguageType() == LANGUAGE_RUSSIAN ) - { - OUString aFontName = aAppFont.GetFamilyName(); - OUString aFirstName = aFontName.getToken( 0, ';' ); - if ( aFirstName.equalsIgnoreAsciiCase( "MS Sans Serif" ) ) - { - aFontName = "Arial;" + aFontName; - aAppFont.SetFamilyName( aFontName ); - } - } if ( aAppFont.GetWeight() > WEIGHT_NORMAL ) aAppFont.SetWeight( WEIGHT_NORMAL ); |