Kaydet (Commit) 3576a87d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin some unused functions and fields

Change-Id: I679bae7734c655afe956845980e885b6b68002cd
üst 2b9ec36e
...@@ -89,11 +89,8 @@ public: ...@@ -89,11 +89,8 @@ public:
BYTE GetCharSet() const { return meWinCharSet; } BYTE GetCharSet() const { return meWinCharSet; }
BYTE GetPitchAndFamily() const { return mnPitchAndFamily; } BYTE GetPitchAndFamily() const { return mnPitchAndFamily; }
bool SupportsKorean() const { return mbHasKoreanRange; }
bool SupportsCJK() const { return mbHasCJKSupport; } bool SupportsCJK() const { return mbHasCJKSupport; }
bool SupportsArabic() const { return mbHasArabicSupport; } bool SupportsArabic() const { return mbHasArabicSupport; }
bool AliasSymbolsHigh() const { return mbAliasSymbolsHigh; }
bool AliasSymbolsLow() const { return mbAliasSymbolsLow; }
#if ENABLE_GRAPHITE #if ENABLE_GRAPHITE
bool SupportsGraphite() const { return mbHasGraphiteSupport; } bool SupportsGraphite() const { return mbHasGraphiteSupport; }
const gr_face* GraphiteFace() const; const gr_face* GraphiteFace() const;
...@@ -112,7 +109,6 @@ private: ...@@ -112,7 +109,6 @@ private:
sal_IntPtr mnId; sal_IntPtr mnId;
// some members that are initalized lazily when the font gets selected into a HDC // some members that are initalized lazily when the font gets selected into a HDC
mutable bool mbHasKoreanRange;
mutable bool mbHasCJKSupport; mutable bool mbHasCJKSupport;
#if ENABLE_GRAPHITE #if ENABLE_GRAPHITE
mutable GrFontData* mpGraphiteData; mutable GrFontData* mpGraphiteData;
......
...@@ -998,7 +998,6 @@ ImplWinFontData::ImplWinFontData( const ImplFontAttributes& rDFS, ...@@ -998,7 +998,6 @@ ImplWinFontData::ImplWinFontData( const ImplFontAttributes& rDFS,
int nHeight, BYTE eWinCharSet, BYTE nPitchAndFamily ) int nHeight, BYTE eWinCharSet, BYTE nPitchAndFamily )
: PhysicalFontFace( rDFS ), : PhysicalFontFace( rDFS ),
mnId( 0 ), mnId( 0 ),
mbHasKoreanRange( false ),
mbHasCJKSupport( false ), mbHasCJKSupport( false ),
#if ENABLE_GRAPHITE #if ENABLE_GRAPHITE
mpGraphiteData(NULL), mpGraphiteData(NULL),
...@@ -1244,8 +1243,6 @@ void ImplWinFontData::GetFontCapabilities( HDC hDC ) const ...@@ -1244,8 +1243,6 @@ void ImplWinFontData::GetFontCapabilities( HDC hDC ) const
sal_uInt32 ulUnicodeRange2 = GetUInt( pTable + 46 ); sal_uInt32 ulUnicodeRange2 = GetUInt( pTable + 46 );
mbHasCJKSupport = (ulUnicodeRange2 & 0x2DF00000); mbHasCJKSupport = (ulUnicodeRange2 & 0x2DF00000);
mbHasKoreanRange= (ulUnicodeRange1 & 0x10000000)
| (ulUnicodeRange2 & 0x01100000);
mbHasArabicSupport = (ulUnicodeRange1 & 0x00002000); mbHasArabicSupport = (ulUnicodeRange1 & 0x00002000);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment