diff options
Diffstat (limited to 'core/fpdfdoc')
-rw-r--r-- | core/fpdfdoc/cpdf_occontext.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpdf_structelement.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpvt_floatrect.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpvt_fontmap.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfdoc/cpdf_occontext.h b/core/fpdfdoc/cpdf_occontext.h index 67763610f4..16b28ba06f 100644 --- a/core/fpdfdoc/cpdf_occontext.h +++ b/core/fpdfdoc/cpdf_occontext.h @@ -17,7 +17,7 @@ class CPDF_Dictionary; class CPDF_Document; class CPDF_PageObject; -class CPDF_OCContext : public Retainable { +class CPDF_OCContext final : public Retainable { public: enum UsageType { View = 0, Design, Print, Export }; diff --git a/core/fpdfdoc/cpdf_structelement.h b/core/fpdfdoc/cpdf_structelement.h index 79e8dd92c8..355599ff87 100644 --- a/core/fpdfdoc/cpdf_structelement.h +++ b/core/fpdfdoc/cpdf_structelement.h @@ -34,7 +34,7 @@ class CPDF_StructKid { uint32_t m_ContentId; // For PageContent, StreamContent. }; -class CPDF_StructElement : public Retainable { +class CPDF_StructElement final : public Retainable { public: template <typename T, typename... Args> friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); diff --git a/core/fpdfdoc/cpvt_floatrect.h b/core/fpdfdoc/cpvt_floatrect.h index c5eb2202bb..4dca3aaa43 100644 --- a/core/fpdfdoc/cpvt_floatrect.h +++ b/core/fpdfdoc/cpvt_floatrect.h @@ -9,7 +9,7 @@ #include "core/fxcrt/fx_coordinates.h" -class CPVT_FloatRect : public CFX_FloatRect { +class CPVT_FloatRect final : public CFX_FloatRect { public: CPVT_FloatRect() { left = top = right = bottom = 0.0f; } diff --git a/core/fpdfdoc/cpvt_fontmap.h b/core/fpdfdoc/cpvt_fontmap.h index f1a27753ac..6d8ca062c1 100644 --- a/core/fpdfdoc/cpvt_fontmap.h +++ b/core/fpdfdoc/cpvt_fontmap.h @@ -17,7 +17,7 @@ class CPDF_Document; class CPDF_Dictionary; class CPDF_Font; -class CPVT_FontMap : public IPVT_FontMap { +class CPVT_FontMap final : public IPVT_FontMap { public: CPVT_FontMap(CPDF_Document* pDoc, CPDF_Dictionary* pResDict, |