diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-19 22:09:27 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-19 22:09:27 -0800 |
commit | 126ba519bdd489ec6c285d1410dcae773e8ef673 (patch) | |
tree | 61390a37589c06ce01810bca631a2a7003748a91 /fpdfsdk/include/fsdk_baseannot.h | |
parent | 814000d7876df07a03a320f9eae8af5da7b340c5 (diff) | |
download | pdfium-126ba519bdd489ec6c285d1410dcae773e8ef673.tar.xz |
Add more overrides.
Using Chromium's clang + build options, there's more override warnings.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1453643002 .
Diffstat (limited to 'fpdfsdk/include/fsdk_baseannot.h')
-rw-r--r-- | fpdfsdk/include/fsdk_baseannot.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/fpdfsdk/include/fsdk_baseannot.h b/fpdfsdk/include/fsdk_baseannot.h index c4d2a8ca32..2e54096c76 100644 --- a/fpdfsdk/include/fsdk_baseannot.h +++ b/fpdfsdk/include/fsdk_baseannot.h @@ -110,19 +110,16 @@ class CPDFSDK_Annot { class CPDFSDK_BAAnnot : public CPDFSDK_Annot { public: CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); - virtual ~CPDFSDK_BAAnnot() {} - - virtual CFX_ByteString GetType() const; - virtual CFX_ByteString GetSubType() const; - - virtual void SetRect(const CPDF_Rect& rect); - virtual CPDF_Rect GetRect() const; - - virtual CPDF_Annot* GetPDFAnnot() const; - - virtual void Annot_OnDraw(CFX_RenderDevice* pDevice, - CPDF_Matrix* pUser2Device, - CPDF_RenderOptions* pOptions); + ~CPDFSDK_BAAnnot() override {} + + CFX_ByteString GetType() const override; + CFX_ByteString GetSubType() const override; + void SetRect(const CPDF_Rect& rect) override; + CPDF_Rect GetRect() const override; + CPDF_Annot* GetPDFAnnot() const override; + void Annot_OnDraw(CFX_RenderDevice* pDevice, + CPDF_Matrix* pUser2Device, + CPDF_RenderOptions* pOptions) override; CPDF_Dictionary* GetAnnotDict() const; |