From 1b7e788eb3bf9cbe56ed5cc4a3fa7fa5e70ac40a Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 1 Jan 2017 22:20:22 +0200 Subject: The mfFontScale[n] is always 1.0 Change-Id: Ica2e67632f5bfe1f70ba7b2d7502257b47d053ce Reviewed-on: https://gerrit.libreoffice.org/32592 Tested-by: Jenkins Reviewed-by: Khaled Hosny --- vcl/inc/win/salgdi.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vcl/inc/win') diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index 65cf06f202f4..d974e7650805 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -166,8 +166,6 @@ private: HFONT mhFonts[ MAX_FALLBACK ]; // Font + Fallbacks const WinFontFace* mpWinFontData[ MAX_FALLBACK ]; // pointer to the most recent font face WinFontInstance* mpWinFontEntry[ MAX_FALLBACK ]; // pointer to the most recent font instance - float mfFontScale[ MAX_FALLBACK ]; // allows metrics emulation of huge font sizes - float mfCurrentFontScale; HRGN mhRegion; // vcl::Region Handle HPEN mhDefPen; // DefaultPen HBRUSH mhDefBrush; // DefaultBrush @@ -207,7 +205,7 @@ public: HWND gethWnd(); - HFONT ImplDoSetFont( FontSelectPattern* i_pFont, float& o_rFontScale, HFONT& o_rOldFont ); + HFONT ImplDoSetFont( FontSelectPattern* i_pFont, HFONT& o_rOldFont ); public: explicit WinSalGraphics(WinSalGraphics::Type eType, bool bScreen, HWND hWnd, -- cgit