summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-12-10 22:10:20 -0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-12-10 22:10:20 -0800
commitac8c3b6ddc4ea3e5c0f365db6951a4c9bb406a57 (patch)
treeceb1543f631e45c6c08b82927275c8b6624a32fb /xfa/src/fxfa
parentc7c3f124fb4ece9a1e09ef16058c2f51947bf714 (diff)
downloadpdfium-ac8c3b6ddc4ea3e5c0f365db6951a4c9bb406a57.tar.xz
Fix compiling warnings on Linux (part2)
BUG=pdfium:261 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1500313002 .
Diffstat (limited to 'xfa/src/fxfa')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffsignature.cpp7
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffsignature.h4
2 files changed, 1 insertions, 10 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffsignature.cpp b/xfa/src/fxfa/src/app/xfa_ffsignature.cpp
index b81f16f4bc..7b5930d1e4 100644
--- a/xfa/src/fxfa/src/app/xfa_ffsignature.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffsignature.cpp
@@ -87,13 +87,6 @@ FX_BOOL CXFA_FFSignature::OnRButtonDblClk(FX_DWORD dwFlags,
FX_FLOAT fy) {
return FALSE;
}
-
-FX_BOOL CXFA_FFSignature::OnSetFocus() {
- return FALSE;
-}
-FX_BOOL CXFA_FFSignature::OnKillFocus() {
- return FALSE;
-}
FX_BOOL CXFA_FFSignature::OnKeyDown(FX_DWORD dwKeyCode, FX_DWORD dwFlags) {
return FALSE;
}
diff --git a/xfa/src/fxfa/src/app/xfa_ffsignature.h b/xfa/src/fxfa/src/app/xfa_ffsignature.h
index 002b4a0e4b..c1d15fd2fc 100644
--- a/xfa/src/fxfa/src/app/xfa_ffsignature.h
+++ b/xfa/src/fxfa/src/app/xfa_ffsignature.h
@@ -6,7 +6,7 @@
#ifndef _FXFA_FORMFILLER_SIGNATURE_IMP_H
#define _FXFA_FORMFILLER_SIGNATURE_IMP_H
-class CXFA_FFSignature : public CXFA_FFField {
+class CXFA_FFSignature final : public CXFA_FFField {
public:
CXFA_FFSignature(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
virtual ~CXFA_FFSignature();
@@ -30,8 +30,6 @@ class CXFA_FFSignature : public CXFA_FFField {
virtual FX_BOOL OnRButtonUp(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
virtual FX_BOOL OnRButtonDblClk(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
- virtual FX_BOOL OnSetFocus();
- virtual FX_BOOL OnKillFocus();
virtual FX_BOOL OnKeyDown(FX_DWORD dwKeyCode, FX_DWORD dwFlags);
virtual FX_BOOL OnKeyUp(FX_DWORD dwKeyCode, FX_DWORD dwFlags);
virtual FX_BOOL OnChar(FX_DWORD dwChar, FX_DWORD dwFlags);