summaryrefslogtreecommitdiff
path: root/core/src/fxcrt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcrt')
-rw-r--r--core/src/fxcrt/fx_basic_array.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/fxcrt/fx_basic_array.cpp b/core/src/fxcrt/fx_basic_array.cpp
index 9c4aa0fa35..18e2bd26d2 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