diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-30 16:23:28 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-30 16:23:28 +0300 |
commit | d91a698637a53e20805f14b0aaa46e9fb2059bf4 (patch) | |
tree | 34e13bf0472c848c8d1c8c2d866b36dd8ad68c2d /vcl/win/source/window | |
parent | ddc28b8ad61e71af94d9bc72f5588556ccfe9b11 (diff) |
Kill unused ImplSalUpdateStyleFontA() function
Diffstat (limited to 'vcl/win/source/window')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 0c5e5eedc72a..162f8dd345dc 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2666,26 +2666,6 @@ inline Color ImplWinColorToSal( COLORREF nColor ) // ----------------------------------------------------------------------- -static void ImplSalUpdateStyleFontA( HDC hDC, const LOGFONTA& rLogFont, Font& rFont ) -{ - ImplSalLogFontToFontA( hDC, rLogFont, rFont ); - - // On Windows 9x, Windows NT we get sometimes very small sizes - // (for example for the small Caption height). - // So if it is MS Sans Serif, a none scalable font we use - // 8 Point as the minimum control height, in all other cases - // 6 Point is the smallest one - if ( rFont.GetHeight() < 8 ) - { - if ( rtl_str_compareIgnoreAsciiCase( rLogFont.lfFaceName, "MS Sans Serif" ) == 0 ) - rFont.SetHeight( 8 ); - else if ( rFont.GetHeight() < 6 ) - rFont.SetHeight( 6 ); - } -} - -// ----------------------------------------------------------------------- - static void ImplSalUpdateStyleFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont ) { ImplSalLogFontToFontW( hDC, rLogFont, rFont ); |