diff options
Diffstat (limited to 'core/fxcodec/codec')
-rw-r--r-- | core/fxcodec/codec/ccodec_pngmodule.cpp | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/ccodec_tiffmodule.cpp | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/cfx_codec_memory.h | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/fx_codec.cpp | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/fx_codec_fax.cpp | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/fx_codec_flate.cpp | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/fx_codec_jpeg.cpp | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/core/fxcodec/codec/ccodec_pngmodule.cpp b/core/fxcodec/codec/ccodec_pngmodule.cpp index 98db4e272e..2c22f6bdba 100644 --- a/core/fxcodec/codec/ccodec_pngmodule.cpp +++ b/core/fxcodec/codec/ccodec_pngmodule.cpp @@ -23,7 +23,7 @@ #define PNG_ERROR_SIZE 256 -class CPngContext : public CCodec_PngModule::Context { +class CPngContext final : public CCodec_PngModule::Context { public: CPngContext(CCodec_PngModule* pModule, CCodec_PngModule::Delegate* pDelegate); ~CPngContext() override; diff --git a/core/fxcodec/codec/ccodec_tiffmodule.cpp b/core/fxcodec/codec/ccodec_tiffmodule.cpp index 5f74b28cdc..78f631cba9 100644 --- a/core/fxcodec/codec/ccodec_tiffmodule.cpp +++ b/core/fxcodec/codec/ccodec_tiffmodule.cpp @@ -32,7 +32,7 @@ struct TiffDeleter { } // namespace -class CTiffContext : public CCodec_TiffModule::Context { +class CTiffContext final : public CCodec_TiffModule::Context { public: CTiffContext() = default; ~CTiffContext() override = default; diff --git a/core/fxcodec/codec/cfx_codec_memory.h b/core/fxcodec/codec/cfx_codec_memory.h index e726dc5320..2907e892d2 100644 --- a/core/fxcodec/codec/cfx_codec_memory.h +++ b/core/fxcodec/codec/cfx_codec_memory.h @@ -8,7 +8,7 @@ #include "core/fxcrt/retain_ptr.h" #include "third_party/base/span.h" -class CFX_CodecMemory : public Retainable { +class CFX_CodecMemory final : public Retainable { public: template <typename T, typename... Args> friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index 54245a5b99..053aa71da2 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -1517,7 +1517,7 @@ CFX_DIBAttribute::~CFX_DIBAttribute() { } #endif // PDF_ENABLE_XFA -class CCodec_RLScanlineDecoder : public CCodec_ScanlineDecoder { +class CCodec_RLScanlineDecoder final : public CCodec_ScanlineDecoder { public: CCodec_RLScanlineDecoder(); ~CCodec_RLScanlineDecoder() override; diff --git a/core/fxcodec/codec/fx_codec_fax.cpp b/core/fxcodec/codec/fx_codec_fax.cpp index aabc110010..c6e71b6b60 100644 --- a/core/fxcodec/codec/fx_codec_fax.cpp +++ b/core/fxcodec/codec/fx_codec_fax.cpp @@ -447,7 +447,7 @@ void FaxGet1DLine(const uint8_t* src_buf, } // namespace -class CCodec_FaxDecoder : public CCodec_ScanlineDecoder { +class CCodec_FaxDecoder final : public CCodec_ScanlineDecoder { public: CCodec_FaxDecoder(const uint8_t* src_buf, uint32_t src_size, diff --git a/core/fxcodec/codec/fx_codec_flate.cpp b/core/fxcodec/codec/fx_codec_flate.cpp index 39d27a4955..11bdf67c42 100644 --- a/core/fxcodec/codec/fx_codec_flate.cpp +++ b/core/fxcodec/codec/fx_codec_flate.cpp @@ -623,7 +623,7 @@ uint32_t CCodec_FlateScanlineDecoder::GetSrcOffset() { return FlateGetPossiblyTruncatedTotalIn(m_pFlate.get()); } -class CCodec_FlatePredictorScanlineDecoder +class CCodec_FlatePredictorScanlineDecoder final : public CCodec_FlateScanlineDecoder { public: CCodec_FlatePredictorScanlineDecoder(const uint8_t* src_buf, diff --git a/core/fxcodec/codec/fx_codec_jpeg.cpp b/core/fxcodec/codec/fx_codec_jpeg.cpp index 4c37465386..d8e94b0285 100644 --- a/core/fxcodec/codec/fx_codec_jpeg.cpp +++ b/core/fxcodec/codec/fx_codec_jpeg.cpp @@ -29,7 +29,7 @@ extern "C" { #endif } // extern "C" -class CJpegContext : public CCodec_JpegModule::Context { +class CJpegContext final : public CCodec_JpegModule::Context { public: CJpegContext(); ~CJpegContext() override; @@ -162,7 +162,7 @@ static bool JpegLoadInfo(const uint8_t* src_buf, return true; } -class CCodec_JpegDecoder : public CCodec_ScanlineDecoder { +class CCodec_JpegDecoder final : public CCodec_ScanlineDecoder { public: CCodec_JpegDecoder(); ~CCodec_JpegDecoder() override; |