diff options
author | thestig <thestig@chromium.org> | 2016-06-07 18:48:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-07 18:48:09 -0700 |
commit | a7c03c678dbd6fd4732e0cfb390cc4f462434441 (patch) | |
tree | 12b5670e920d49114d61c8a125d6f0b99f24fd38 /xfa/fgas/font/fgas_gefont.h | |
parent | 649a78569e9487fc5d3cccee546be50c351560b7 (diff) | |
download | pdfium-a7c03c678dbd6fd4732e0cfb390cc4f462434441.tar.xz |
Remove dead code in CFGAS_FontMgrImp.
And also CFGAS_StdFontMgrImp.
Review-Url: https://codereview.chromium.org/2033673002
Diffstat (limited to 'xfa/fgas/font/fgas_gefont.h')
-rw-r--r-- | xfa/fgas/font/fgas_gefont.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/xfa/fgas/font/fgas_gefont.h b/xfa/fgas/font/fgas_gefont.h index 877d292890..30f1c99159 100644 --- a/xfa/fgas/font/fgas_gefont.h +++ b/xfa/fgas/font/fgas_gefont.h @@ -22,14 +22,11 @@ class CFGAS_GEFont { uint32_t dwFontStyles, uint16_t wCodePage, IFGAS_FontMgr* pFontMgr); - static CFGAS_GEFont* LoadFont(CFX_Font* pExtFont, - IFGAS_FontMgr* pFontMgr, - FX_BOOL bTakeOver); + static CFGAS_GEFont* LoadFont(CFX_Font* pExtFont, IFGAS_FontMgr* pFontMgr); #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ static CFGAS_GEFont* LoadFont(const uint8_t* pBuffer, int32_t iLength, IFGAS_FontMgr* pFontMgr); - static CFGAS_GEFont* LoadFont(const FX_WCHAR* pszFileName); static CFGAS_GEFont* LoadFont(IFX_Stream* pFontStream, IFGAS_FontMgr* pFontMgr, FX_BOOL bSaveStream); @@ -70,14 +67,13 @@ class CFGAS_GEFont { CFGAS_GEFont(const CFGAS_GEFont& src, uint32_t dwFontStyles); #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ - FX_BOOL LoadFont(const FX_WCHAR* pszFontFamily, - uint32_t dwFontStyles, - uint16_t wCodePage); - FX_BOOL LoadFont(const uint8_t* pBuffer, int32_t length); - FX_BOOL LoadFontInternal(const FX_WCHAR* pszFileName); - FX_BOOL LoadFont(IFX_Stream* pFontStream, FX_BOOL bSaveStream); + FX_BOOL LoadFontInternal(const FX_WCHAR* pszFontFamily, + uint32_t dwFontStyles, + uint16_t wCodePage); + FX_BOOL LoadFontInternal(const uint8_t* pBuffer, int32_t length); + FX_BOOL LoadFontInternal(IFX_Stream* pFontStream, FX_BOOL bSaveStream); #endif - FX_BOOL LoadFont(CFX_Font* pExtFont, FX_BOOL bTakeOver); + FX_BOOL LoadFontInternal(CFX_Font* pExtFont); FX_BOOL InitFont(); FX_BOOL GetCharBBoxInternal(FX_WCHAR wUnicode, CFX_Rect& bbox, |