diff options
author | th <th@openoffice.org> | 2001-06-21 20:01:12 +0000 |
---|---|---|
committer | th <th@openoffice.org> | 2001-06-21 20:01:12 +0000 |
commit | 5f761918f2201d7a739efbf669f27deb8a9874f0 (patch) | |
tree | 9194ce1714346def1d8eb28bafe920eb0ecbae93 /vcl/source/window/window2.cxx | |
parent | 8aa6660d9eaf3602741a33eaa5e0b30ddf9fedba (diff) |
#81329# - GetDefaultFont()
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r-- | vcl/source/window/window2.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 4bb13ea941b9..ecc8bf1816e8 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: window2.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: th $ $Date: 2001-06-15 13:27:00 $ + * last change: $Author: th $ $Date: 2001-06-21 21:01:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1011,10 +1011,10 @@ void Window::SetZoomedPointFont( const Font& rFont ) { USHORT nType; if ( aMetric.GetPitch() == PITCH_FIXED ) - nType = FONT_DEFAULT_FIXED; + nType = DEFAULTFONT_FIXED; else - nType = FONT_DEFAULT_UI_SANS; - Font aTempFont = GetDefaultFont( nType, GetSettings().GetLanguage(), FALSE ); + nType = DEFAULTFONT_UI_SANS; + Font aTempFont = GetDefaultFont( nType, GetSettings().GetLanguage(), 0 ); aFont.SetName( aTempFont.GetName() ); SetPointFont( aFont ); } |