Index: fpdfsdk/include/fxedit/fxet_edit.h |
diff --git a/fpdfsdk/include/fxedit/fxet_edit.h b/fpdfsdk/include/fxedit/fxet_edit.h |
index 21ebe6bae16c46e2bb2c981e866227b888be7c93..1ecb70426f1bf27e9fb1b12319df2c1f0ac7fa8b 100644 |
--- a/fpdfsdk/include/fxedit/fxet_edit.h |
+++ b/fpdfsdk/include/fxedit/fxet_edit.h |
@@ -814,16 +814,21 @@ class CFX_Edit_Iterator : public IFX_Edit_Iterator { |
class CFX_Edit_Provider : public IPDF_VariableText_Provider { |
public: |
CFX_Edit_Provider(IFX_Edit_FontMap* pFontMap); |
- virtual ~CFX_Edit_Provider(); |
+ ~CFX_Edit_Provider() override; |
IFX_Edit_FontMap* GetFontMap(); |
- int32_t GetCharWidth(int32_t nFontIndex, FX_WORD word, int32_t nWordStyle); |
- int32_t GetTypeAscent(int32_t nFontIndex); |
- int32_t GetTypeDescent(int32_t nFontIndex); |
- int32_t GetWordFontIndex(FX_WORD word, int32_t charset, int32_t nFontIndex); |
- int32_t GetDefaultFontIndex(); |
- FX_BOOL IsLatinWord(FX_WORD word); |
+ // IPDF_VariableText_Provider: |
+ int32_t GetCharWidth(int32_t nFontIndex, |
+ FX_WORD word, |
+ int32_t nWordStyle) override; |
+ int32_t GetTypeAscent(int32_t nFontIndex) override; |
+ int32_t GetTypeDescent(int32_t nFontIndex) override; |
+ int32_t GetWordFontIndex(FX_WORD word, |
+ int32_t charset, |
+ int32_t nFontIndex) override; |
+ int32_t GetDefaultFontIndex() override; |
+ FX_BOOL IsLatinWord(FX_WORD word) override; |
private: |
IFX_Edit_FontMap* m_pFontMap; |