From cb798258c433bec7087948fcbfff14d1e7683006 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 17 Sep 2018 18:25:32 +0000 Subject: Fix final/protected conflicts. Classes marked |final| should not have |protected| members. In turn, "private field m_dwEncryptObjNum is not used" warning is produced. Change-Id: I51a96aca5a5f499381a6764d892962f7f2dc0327 Reviewed-on: https://pdfium-review.googlesource.com/42611 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- core/fxcodec/codec/ccodec_flatemodule.cpp | 2 +- core/fxcodec/codec/fx_codec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fxcodec') diff --git a/core/fxcodec/codec/ccodec_flatemodule.cpp b/core/fxcodec/codec/ccodec_flatemodule.cpp index c603ce192b..0dc1822300 100644 --- a/core/fxcodec/codec/ccodec_flatemodule.cpp +++ b/core/fxcodec/codec/ccodec_flatemodule.cpp @@ -642,7 +642,7 @@ class CCodec_FlatePredictorScanlineDecoder final bool v_Rewind() override; uint8_t* v_GetNextLine() override; - protected: + private: void GetNextLineWithPredictedPitch(); void GetNextLineWithoutPredictedPitch(); diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index b93f5418f3..d38f10aadd 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -1540,7 +1540,7 @@ class CCodec_RLScanlineDecoder final : public CCodec_ScanlineDecoder { uint8_t* v_GetNextLine() override; uint32_t GetSrcOffset() override { return m_SrcOffset; } - protected: + private: bool CheckDestSize(); void GetNextOperator(); void UpdateOperator(uint8_t used_bytes); -- cgit v1.2.3