From 3128d1c45d8bc313abb8aae151f86bbe62c52e56 Mon Sep 17 00:00:00 2001 From: tsepez Date: Tue, 10 Jan 2017 06:03:26 -0800 Subject: Remove more _LP* typedefs. Code is much clearer when we use the actual types rather than this convention. Review-Url: https://codereview.chromium.org/2618993002 --- xfa/fgas/font/cfgas_fontmgr.cpp | 2 +- xfa/fgas/font/cfgas_fontmgr.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'xfa/fgas') diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp index 72f7b88f95..add66899a7 100644 --- a/xfa/fgas/font/cfgas_fontmgr.cpp +++ b/xfa/fgas/font/cfgas_fontmgr.cpp @@ -47,7 +47,7 @@ int32_t GetSimilarityScore(FX_FONTDESCRIPTOR const* pFont, return iValue; } -FX_FONTDESCRIPTOR const* MatchDefaultFont(FX_LPFONTMATCHPARAMS pParams, +FX_FONTDESCRIPTOR const* MatchDefaultFont(FX_FONTMATCHPARAMS* pParams, const CFX_FontDescriptors& fonts) { FX_FONTDESCRIPTOR const* pBestFont = nullptr; int32_t iBestSimilar = 0; diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index 303d73404b..5e03af031f 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h @@ -52,8 +52,6 @@ struct FX_FONTMATCHPARAMS { uint16_t wCodePage; }; -typedef FX_FONTMATCHPARAMS* FX_LPFONTMATCHPARAMS; - struct FX_FONTSIGNATURE { uint32_t fsUsb[4]; uint32_t fsCsb[2]; -- cgit v1.2.3