Index: core/src/fxcrt/fx_basic_array.cpp |
diff --git a/core/src/fxcrt/fx_basic_array.cpp b/core/src/fxcrt/fx_basic_array.cpp |
index 9c4aa0fa35af35ba8886cbaaafad8b3ea42e4350..18e2bd26d24856c0b2902329dba432045736f306 100644 |
--- a/core/src/fxcrt/fx_basic_array.cpp |
+++ b/core/src/fxcrt/fx_basic_array.cpp |
@@ -134,6 +134,7 @@ const void* CFX_BasicArray::GetDataPtr(int index) const { |
} |
return m_pData + index * m_nUnitSize; |
} |
+#ifdef PDF_ENABLE_XFA |
CFX_BaseSegmentedArray::CFX_BaseSegmentedArray(int unit_size, |
int segment_units, |
int index_size) |
@@ -338,3 +339,4 @@ void CFX_BaseSegmentedArray::Delete(int index, int count) { |
} |
m_DataSize -= count; |
} |
+#endif // PDF_ENABLE_XFA |