aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 5a03facc..23545d1a 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -374,10 +374,6 @@ QPDF::parse(char const* password)
// version 1.2 for /FlateDecode
this->m->pdf_version = "1.2";
}
- if (atof(this->m->pdf_version.c_str()) < 1.2)
- {
- this->m->tokenizer.allowPoundAnywhereInName();
- }
// PDF spec says %%EOF must be found within the last 1024 bytes of
// the file. We add an extra 30 characters to leave room for the