summaryrefslogtreecommitdiff
path: root/xfa/src/fee/include/ifde_txtedtengine.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-19 14:58:28 -0700
committerLei Zhang <thestig@chromium.org>2015-06-19 14:58:28 -0700
commit568aff520b4ca33d851317a4ea88807b4fd2da40 (patch)
tree02c6409057908381d36efcd556dd8082044d5509 /xfa/src/fee/include/ifde_txtedtengine.h
parentc49828916f5b0766f8d6f0fd5bf0a6cc5bd3c1ec (diff)
downloadpdfium-568aff520b4ca33d851317a4ea88807b4fd2da40.tar.xz
Fix -Wnon-virtual-dtor warnings on the XFA branch.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1183483003.
Diffstat (limited to 'xfa/src/fee/include/ifde_txtedtengine.h')
-rw-r--r--xfa/src/fee/include/ifde_txtedtengine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/src/fee/include/ifde_txtedtengine.h b/xfa/src/fee/include/ifde_txtedtengine.h
index 0ee175380e..d11a1e9db1 100644
--- a/xfa/src/fee/include/ifde_txtedtengine.h
+++ b/xfa/src/fee/include/ifde_txtedtengine.h
@@ -140,6 +140,7 @@ typedef _FDE_TXTEDT_TEXTCHANGE_INFO* FDE_LPTXTEDT_TEXTCHANGE_INFO;
class IFDE_TxtEdtEventSink
{
public:
+ virtual ~IFDE_TxtEdtEventSink() {}
virtual void On_CaretChanged(IFDE_TxtEdtEngine * pEdit, int32_t nPage, FX_BOOL bVisible = TRUE) = 0;
virtual void On_TextChanged(IFDE_TxtEdtEngine * pEdit, FDE_TXTEDT_TEXTCHANGE_INFO &ChangeInfo) = 0;
virtual void On_PageCountChanged(IFDE_TxtEdtEngine * pEdit) = 0;
@@ -157,6 +158,7 @@ public:
class IFX_CharIter
{
public:
+ virtual ~IFX_CharIter() {}
virtual void Release() = 0;
virtual FX_BOOL Next(FX_BOOL bPrev = FALSE) = 0;
virtual FX_WCHAR GetChar() = 0;
@@ -170,6 +172,7 @@ class IFDE_TxtEdtEngine
public:
static IFDE_TxtEdtEngine* Create();
+ virtual ~IFDE_TxtEdtEngine() {}
virtual void Release() = 0;
virtual void SetEditParams(const FDE_TXTEDTPARAMS &params) = 0;
virtual const FDE_TXTEDTPARAMS* GetEditParams() const = 0;
@@ -225,6 +228,7 @@ public:
class IFDE_TxtEdtParag
{
public:
+ virtual ~IFDE_TxtEdtParag() {}
virtual int32_t GetTextLength() const = 0;
virtual int32_t GetStartIndex() const = 0;
virtual int32_t CountLines() const = 0;