summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorQin Zhao <zhaoqin@google.com>2015-10-21 17:57:48 -0400
committerQin Zhao <zhaoqin@google.com>2015-10-21 17:57:48 -0400
commit59b10dc29ad515e26e96172e7e7d91122cb52a15 (patch)
tree8951e8a3ee9aebd0a978dc7d778d7d3ce42dd7a4 /xfa
parentbf59a070593d079256161f6ff47148df309668c7 (diff)
downloadpdfium-59b10dc29ad515e26e96172e7e7d91122cb52a15.tar.xz
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 .
Diffstat (limited to 'xfa')
-rw-r--r--xfa/src/fgas/include/fx_fnt.h2
-rw-r--r--xfa/src/fwl/src/theme/widgettp.cpp1
2 files changed, 1 insertions, 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 =