From 3e47219e06b9a279ba22a9bbef668731f2d3e07d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 10 Aug 2015 19:26:57 +0300 Subject: SimpleWinLayout::mbDisableGlyphs was always true Remove dead code. Should have no effect on behaviour. Possibly originally the intent was that mbDisableGlyphs would have been false in most cases on NT-based Windows (all versions that we support now). However, since dadfc60873d4dce4e0c46e1d3405f8d45535cdcf, in 2005, mbDisableGlyphs was set to always true in the SimpleWinLayout ctor. Change-Id: Id929224d5656706762c2f44ee26c76f8b20ee8b8 --- vcl/inc/win/salgdi.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl/inc/win') diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index 2e892690f72d..7d05d2317e17 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -87,7 +87,6 @@ public: BYTE GetCharSet() const { return meWinCharSet; } BYTE GetPitchAndFamily() const { return mnPitchAndFamily; } - bool IsGlyphApiDisabled() const { return mbDisableGlyphApi; } bool SupportsKorean() const { return mbHasKoreanRange; } bool SupportsCJK() const { return mbHasCJKSupport; } bool SupportsArabic() const { return mbHasArabicSupport; } @@ -111,7 +110,6 @@ private: sal_IntPtr mnId; // some members that are initalized lazily when the font gets selected into a HDC - mutable bool mbDisableGlyphApi; mutable bool mbHasKoreanRange; mutable bool mbHasCJKSupport; #if ENABLE_GRAPHITE -- cgit