Index: core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
index 628fb3da996e7cd95b86851469beec38b3e6f996..8053718c190fef0413ae94c8a1857a2a30f136ca 100644 |
--- a/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
+++ b/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
@@ -71,7 +71,6 @@ CPDF_ClipPathData::CPDF_ClipPathData(const CPDF_ClipPathData& src) |
m_TextCount = src.m_TextCount; |
if (m_TextCount) { |
m_pTextList = FX_Alloc(CPDF_TextObject*, m_TextCount); |
- FXSYS_memset32(m_pTextList, 0, sizeof(CPDF_TextObject*) * m_TextCount); |
for (int i = 0; i < m_TextCount; i ++) { |
if (src.m_pTextList[i]) { |
m_pTextList[i] = FX_NEW CPDF_TextObject; |
@@ -96,7 +95,6 @@ void CPDF_ClipPathData::SetCount(int path_count, int text_count) |
if (text_count) { |
m_TextCount = text_count; |
m_pTextList = FX_Alloc(CPDF_TextObject*, text_count); |
- FXSYS_memset32(m_pTextList, 0, sizeof(void*) * text_count); |
} |
} |
CPDF_Rect CPDF_ClipPath::GetClipBox() const |