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:
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
Block a user