Index: core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp b/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
index 48fdc1c914251dcbb24379f7940905a52250ab2f..77e8c00d2026ec143c80f02fae9b80d3fee78d8a 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
@@ -473,14 +473,6 @@ void CPDF_ColorSpace::GetDefaultColor(FX_FLOAT* buf) const { |
} |
} |
-int CPDF_ColorSpace::GetMaxIndex() const { |
- if (m_Family != PDFCS_INDEXED) { |
- return 0; |
- } |
- CPDF_IndexedCS* pCS = (CPDF_IndexedCS*)this; |
- return pCS->m_MaxIndex; |
-} |
- |
void CPDF_ColorSpace::TranslateImageLine(uint8_t* dest_buf, |
const uint8_t* src_buf, |
int pixels, |