From 818632b0bb2f94bfba4acb518b6e08d20eda4b17 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 16 Feb 2018 17:57:57 +0000 Subject: m_pEnumerator only ever has one value, indirection not needed. Change-Id: Ic1d63e8ef54a820b01d67dbf1dd6f6f72a06b77c Reviewed-on: https://pdfium-review.googlesource.com/26990 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- xfa/fgas/font/cfgas_fontmgr.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xfa/fgas/font/cfgas_fontmgr.h') diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index 445b318a26..210b5643bb 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h @@ -63,10 +63,6 @@ inline bool operator==(const FX_FONTDESCRIPTOR& left, wcscmp(left.wsFontFace, right.wsFontFace) == 0; } -typedef void (*FX_LPEnumAllFonts)(std::deque* fonts, - const wchar_t* pwsFaceName, - wchar_t wUnicode); - #else // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ class CFX_FontDescriptor { @@ -153,7 +149,6 @@ class CFGAS_FontMgr : public Observable { uint32_t dwUSB, wchar_t wUnicode); - FX_LPEnumAllFonts m_pEnumerator; std::deque m_FontFaces; #else // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ bool EnumFontsFromFontMapper(); -- cgit v1.2.3