summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_null.cpp')
-rw-r--r--core/fpdfapi/parser/cpdf_null.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_null.cpp b/core/fpdfapi/parser/cpdf_null.cpp
index 254c86fd7a..7c1cdac486 100644
--- a/core/fpdfapi/parser/cpdf_null.cpp
+++ b/core/fpdfapi/parser/cpdf_null.cpp
@@ -20,3 +20,7 @@ std::unique_ptr<CPDF_Object> CPDF_Null::Clone() const {
bool CPDF_Null::WriteTo(IFX_ArchiveStream* archive) const {
return archive->WriteString(" null");
}
+
+bool CPDF_Null::IsNull() const {
+ return true;
+}