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
1 changed files with 1 additions and 1 deletions

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;