[Libreoffice-commits] core.git: vcl/win
Noel Grandin
noel at peralex.com
Thu Sep 18 01:37:19 PDT 2014
vcl/win/source/window/salframe.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit f4dc53cb33c7f6b10bb6709dea5f8195bf95d4b5
Author: Noel Grandin <noel at peralex.com>
Date: Thu Sep 18 10:36:13 2014 +0200
Use vcl::Font
Change-Id: Ic1b66c43697e342bebdf8b5cd6f0bb419f4a4fa7
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 8c129eb..63a5dc1 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2586,7 +2586,7 @@ inline Color ImplWinColorToSal( COLORREF nColor )
return Color( GetRValue( nColor ), GetGValue( nColor ), GetBValue( nColor ) );
}
-static void ImplSalUpdateStyleFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont )
+static void ImplSalUpdateStyleFontW( HDC hDC, const LOGFONTW& rLogFont, vcl::Font& rFont )
{
ImplSalLogFontToFontW( hDC, rLogFont, rFont );
@@ -2761,12 +2761,12 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings.SetHighContrastMode( false );
// Query Fonts
- Font aMenuFont = aStyleSettings.GetMenuFont();
- Font aTitleFont = aStyleSettings.GetTitleFont();
- Font aFloatTitleFont = aStyleSettings.GetFloatTitleFont();
- Font aHelpFont = aStyleSettings.GetHelpFont();
- Font aAppFont = aStyleSettings.GetAppFont();
- Font aIconFont = aStyleSettings.GetIconFont();
+ vcl::Font aMenuFont = aStyleSettings.GetMenuFont();
+ vcl::Font aTitleFont = aStyleSettings.GetTitleFont();
+ vcl::Font aFloatTitleFont = aStyleSettings.GetFloatTitleFont();
+ vcl::Font aHelpFont = aStyleSettings.GetHelpFont();
+ vcl::Font aAppFont = aStyleSettings.GetAppFont();
+ vcl::Font aIconFont = aStyleSettings.GetIconFont();
HDC hDC = GetDC( 0 );
NONCLIENTMETRICSW aNonClientMetrics;
aNonClientMetrics.cbSize = sizeof( aNonClientMetrics );
More information about the Libreoffice-commits
mailing list