2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-10-31 19:02:30 +00:00

Remove explicit type from PageLabel dictionary

The old code didn't put one there, and it's not really useful. It just
makes the file (trivially) larger.
This commit is contained in:
Jay Berkenbilt 2024-01-06 17:20:55 -05:00
parent 7b3fff15a9
commit e50ff67d00

View File

@ -104,7 +104,7 @@ QPDFObjectHandle
QPDFPageLabelDocumentHelper::pageLabelDict(
qpdf_page_label_e label_type, int start_num, std::string_view prefix)
{
auto num = "<< /Type /PageLabel >>"_qpdf;
auto num = QPDFObjectHandle::newDictionary();
switch (label_type) {
case pl_none:
break;