XFA: Fix two minor build errors on Windows
authorQin Zhao <zhaoqin@google.com>
Wed, 21 Oct 2015 21:57:48 +0000 (17:57 -0400)
committerQin Zhao <zhaoqin@google.com>
Wed, 21 Oct 2015 21:57:48 +0000 (17:57 -0400)
- 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
xfa/src/fwl/src/theme/widgettp.cpp

index 4a10ee3..4d60af2 100644 (file)
@@ -138,7 +138,7 @@ class IFX_FontMgr {
   static IFX_FontMgr* Create(FX_LPEnumAllFonts pEnumerator,\r
                              FX_LPMatchFont pMatcher = NULL,\r
                              void* pUserData = NULL);\r
-  ~virtual ~IFX_FontMgr() {}\r
+  virtual ~IFX_FontMgr() {}\r
   virtual void Release() = 0;\r
   virtual IFX_Font* GetDefFontByCodePage(\r
       FX_WORD wCodePage,\r
index bd21b4e..49b8f21 100644 (file)
@@ -557,7 +557,6 @@ void CFWL_WidgetTP::DrawArrow(CFX_Graphics* pGraphics,
                               FWLTHEME_DIRECTION eDict,\r
                               FX_ARGB argSign,\r
                               CFX_Matrix* pMatrix) {\r
-  CFX_RectF rtArrow(*pRect);\r
   FX_BOOL bVert =\r
       (eDict == FWLTHEME_DIRECTION_Up || eDict == FWLTHEME_DIRECTION_Down);\r
   FX_FLOAT fLeft =\r