From 59b10dc29ad515e26e96172e7e7d91122cb52a15 Mon Sep 17 00:00:00 2001 From: Qin Zhao Date: Wed, 21 Oct 2015 17:57:48 -0400 Subject: XFA: Fix two minor build errors on Windows - remove unused local variable rtArrow in CFWL_WidgetTP::DrawArrow - remove ~ in class IFX_FontMgr BUG=none R=thestig@chromium.org Review URL: https://codereview.chromium.org/1416673005 . --- xfa/src/fgas/include/fx_fnt.h | 2 +- xfa/src/fwl/src/theme/widgettp.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/xfa/src/fgas/include/fx_fnt.h b/xfa/src/fgas/include/fx_fnt.h index 4a10ee3e4a..4d60af22e2 100644 --- a/xfa/src/fgas/include/fx_fnt.h +++ b/xfa/src/fgas/include/fx_fnt.h @@ -138,7 +138,7 @@ class IFX_FontMgr { static IFX_FontMgr* Create(FX_LPEnumAllFonts pEnumerator, FX_LPMatchFont pMatcher = NULL, void* pUserData = NULL); - ~virtual ~IFX_FontMgr() {} + virtual ~IFX_FontMgr() {} virtual void Release() = 0; virtual IFX_Font* GetDefFontByCodePage( FX_WORD wCodePage, diff --git a/xfa/src/fwl/src/theme/widgettp.cpp b/xfa/src/fwl/src/theme/widgettp.cpp index bd21b4e761..49b8f214e3 100644 --- a/xfa/src/fwl/src/theme/widgettp.cpp +++ b/xfa/src/fwl/src/theme/widgettp.cpp @@ -557,7 +557,6 @@ void CFWL_WidgetTP::DrawArrow(CFX_Graphics* pGraphics, FWLTHEME_DIRECTION eDict, FX_ARGB argSign, CFX_Matrix* pMatrix) { - CFX_RectF rtArrow(*pRect); FX_BOOL bVert = (eDict == FWLTHEME_DIRECTION_Up || eDict == FWLTHEME_DIRECTION_Down); FX_FLOAT fLeft = -- cgit v1.2.3