diff options
Diffstat (limited to 'core/fpdfapi/render/cpdf_imageloader.cpp')
-rw-r--r-- | core/fpdfapi/render/cpdf_imageloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/render/cpdf_imageloader.cpp b/core/fpdfapi/render/cpdf_imageloader.cpp index c8f9013029..f3a626350b 100644 --- a/core/fpdfapi/render/cpdf_imageloader.cpp +++ b/core/fpdfapi/render/cpdf_imageloader.cpp @@ -21,14 +21,14 @@ CPDF_ImageLoader::CPDF_ImageLoader() CPDF_ImageLoader::~CPDF_ImageLoader() {} -bool CPDF_ImageLoader::Start(const CPDF_ImageObject* pImage, +bool CPDF_ImageLoader::Start(CPDF_ImageObject* pImage, CPDF_PageRenderCache* pCache, bool bStdCS, uint32_t GroupFamily, bool bLoadMask, CPDF_RenderStatus* pRenderStatus) { m_pCache = pCache; - m_pImageObject = const_cast<CPDF_ImageObject*>(pImage); + m_pImageObject = pImage; bool ret; if (pCache) { ret = pCache->StartGetCachedBitmap(m_pImageObject->GetImage(), bStdCS, |