diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-01-06 10:59:38 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-01-06 10:59:38 +0200 |
commit | 3576a87d72dd138d3bb2ce6bbba8df05ca983289 (patch) | |
tree | bd9ec0bbcbb65ea9d6a2df48c074587e1a89dcc1 | |
parent | 2b9ec36ed7cb3b77d8a5fde798544cf5a7f9ec3e (diff) |
Bin some unused functions and fields
Change-Id: I679bae7734c655afe956845980e885b6b68002cd
-rw-r--r-- | vcl/inc/win/salgdi.h | 4 | ||||
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index c58c17a5e67d..26b6c2fc9eda 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -89,11 +89,8 @@ public: BYTE GetCharSet() const { return meWinCharSet; } BYTE GetPitchAndFamily() const { return mnPitchAndFamily; } - bool SupportsKorean() const { return mbHasKoreanRange; } bool SupportsCJK() const { return mbHasCJKSupport; } bool SupportsArabic() const { return mbHasArabicSupport; } - bool AliasSymbolsHigh() const { return mbAliasSymbolsHigh; } - bool AliasSymbolsLow() const { return mbAliasSymbolsLow; } #if ENABLE_GRAPHITE bool SupportsGraphite() const { return mbHasGraphiteSupport; } const gr_face* GraphiteFace() const; @@ -112,7 +109,6 @@ private: sal_IntPtr mnId; // some members that are initalized lazily when the font gets selected into a HDC - mutable bool mbHasKoreanRange; mutable bool mbHasCJKSupport; #if ENABLE_GRAPHITE mutable GrFontData* mpGraphiteData; diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 26ade828ad7f..e2b4c2ebf0a2 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -998,7 +998,6 @@ ImplWinFontData::ImplWinFontData( const ImplFontAttributes& rDFS, int nHeight, BYTE eWinCharSet, BYTE nPitchAndFamily ) : PhysicalFontFace( rDFS ), mnId( 0 ), - mbHasKoreanRange( false ), mbHasCJKSupport( false ), #if ENABLE_GRAPHITE mpGraphiteData(NULL), @@ -1244,8 +1243,6 @@ void ImplWinFontData::GetFontCapabilities( HDC hDC ) const sal_uInt32 ulUnicodeRange2 = GetUInt( pTable + 46 ); mbHasCJKSupport = (ulUnicodeRange2 & 0x2DF00000); - mbHasKoreanRange= (ulUnicodeRange1 & 0x10000000) - | (ulUnicodeRange2 & 0x01100000); mbHasArabicSupport = (ulUnicodeRange1 & 0x00002000); } } |