diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fpdfapi/font/cpdf_type3font.cpp | 3 | ||||
-rw-r--r-- | core/fpdfapi/page/cpdf_tilingpattern.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/fpdfapi/font/cpdf_type3font.cpp b/core/fpdfapi/font/cpdf_type3font.cpp index c328c1020d..b3eaef0e06 100644 --- a/core/fpdfapi/font/cpdf_type3font.cpp +++ b/core/fpdfapi/font/cpdf_type3font.cpp @@ -115,7 +115,8 @@ CPDF_Type3Char* CPDF_Type3Font::LoadChar(uint32_t charcode) { // can change as a result. Thus after it returns, check the cache again for // a cache hit. m_CharLoadingDepth++; - pNewChar->form()->ParseContentWithParams(nullptr, nullptr, pNewChar.get(), 0); + pNewChar->form()->ParseContentWithParams(nullptr, nullptr, pNewChar.get(), + nullptr); m_CharLoadingDepth--; it = m_CacheMap.find(charcode); if (it != m_CacheMap.end()) diff --git a/core/fpdfapi/page/cpdf_tilingpattern.cpp b/core/fpdfapi/page/cpdf_tilingpattern.cpp index a5252578a5..02127b6368 100644 --- a/core/fpdfapi/page/cpdf_tilingpattern.cpp +++ b/core/fpdfapi/page/cpdf_tilingpattern.cpp @@ -49,7 +49,7 @@ bool CPDF_TilingPattern::Load() { const CFX_Matrix& matrix = parent_matrix(); m_pForm = pdfium::MakeUnique<CPDF_Form>(document(), nullptr, pStream); - m_pForm->ParseContentWithParams(nullptr, &matrix, nullptr, 0); + m_pForm->ParseContentWithParams(nullptr, &matrix, nullptr, nullptr); m_BBox = pDict->GetRectFor("BBox"); return true; } |