mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Minor cleanup
This commit is contained in:
parent
a4de20cd3f
commit
cc500eda91
@ -1,5 +1,4 @@
|
||||
#include <qpdf/QPDFNumberTreeObjectHelper.hh>
|
||||
#include <qpdf/QTC.hh>
|
||||
|
||||
QPDFNumberTreeObjectHelper::Members::~Members()
|
||||
{
|
||||
|
@ -85,8 +85,8 @@ QPDFPageLabelDocumentHelper::getLabelsForPageRange(
|
||||
bool skip_first = false;
|
||||
if (size >= 2)
|
||||
{
|
||||
QPDFObjectHandle last = new_labels[size - 1];
|
||||
QPDFObjectHandle last_idx = new_labels[size - 2];
|
||||
QPDFObjectHandle last = new_labels.at(size - 1);
|
||||
QPDFObjectHandle last_idx = new_labels.at(size - 2);
|
||||
if (last_idx.isInteger() && last.isDictionary() &&
|
||||
(label.getKey("/S").unparse() == last.getKey("/S").unparse()) &&
|
||||
(label.getKey("/P").unparse() == last.getKey("/P").unparse()) &&
|
||||
|
Loading…
Reference in New Issue
Block a user