| Index: core/src/fxcodec/codec/codec_int.h
|
| diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h
|
| index ee7fe3ba6ff23ec3e006027f58a045a7f35d3f1a..a37f7bd7b8c61b4520b205bae525a808b59b0bd8 100644
|
| --- a/core/src/fxcodec/codec/codec_int.h
|
| +++ b/core/src/fxcodec/codec/codec_int.h
|
| @@ -347,33 +347,6 @@ class CCodec_TiffModule : public ICodec_TiffModule {
|
| ~CCodec_TiffModule() override {}
|
| };
|
|
|
| -class CPDF_Jbig2Interface : public CJBig2_Module {
|
| - public:
|
| - virtual void* JBig2_Malloc(FX_DWORD dwSize) {
|
| - return FX_Alloc(uint8_t, dwSize);
|
| - }
|
| - virtual void* JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) {
|
| - if (dwSize && num >= UINT_MAX / dwSize) {
|
| - return NULL;
|
| - }
|
| - return FX_Alloc(uint8_t, num * dwSize);
|
| - }
|
| - virtual void* JBig2_Malloc3(FX_DWORD num, FX_DWORD dwSize, FX_DWORD dwSize2) {
|
| - if (dwSize2 && dwSize >= UINT_MAX / dwSize2) {
|
| - return NULL;
|
| - }
|
| - FX_DWORD size = dwSize2 * dwSize;
|
| - if (size && num >= UINT_MAX / size) {
|
| - return NULL;
|
| - }
|
| - return FX_Alloc(uint8_t, num * size);
|
| - }
|
| - virtual void* JBig2_Realloc(void* pMem, FX_DWORD dwSize) {
|
| - return FX_Realloc(uint8_t, pMem, dwSize);
|
| - }
|
| - virtual void JBig2_Free(void* pMem) { FX_Free(pMem); }
|
| -};
|
| -
|
| class CCodec_Jbig2Context {
|
| public:
|
| CCodec_Jbig2Context();
|
| @@ -414,7 +387,6 @@ class CCodec_Jbig2Module : public ICodec_Jbig2Module {
|
| void DestroyJbig2Context(void* pJbig2Context) override;
|
|
|
| private:
|
| - CPDF_Jbig2Interface m_Module;
|
| std::list<CJBig2_CachePair> m_SymbolDictCache;
|
| };
|
| class CFX_DIBAttributeExif : public IFX_DIBAttributeExif {
|
|
|