mirror of https://github.com/qpdf/qpdf.git
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:
parent
7b3fff15a9
commit
e50ff67d00
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue