mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
Tidy QPDFAcroFormDocumentHelper::getFieldsWithQualifiedName
This commit is contained in:
parent
e37ce44186
commit
5b3b135fda
@ -188,12 +188,11 @@ QPDFAcroFormDocumentHelper::getFieldsWithQualifiedName(std::string const& name)
|
|||||||
{
|
{
|
||||||
analyze();
|
analyze();
|
||||||
// Keep from creating an empty entry
|
// Keep from creating an empty entry
|
||||||
std::set<QPDFObjGen> result;
|
|
||||||
auto iter = this->m->name_to_fields.find(name);
|
auto iter = this->m->name_to_fields.find(name);
|
||||||
if (iter != this->m->name_to_fields.end()) {
|
if (iter != this->m->name_to_fields.end()) {
|
||||||
result = iter->second;
|
return iter->second;
|
||||||
}
|
}
|
||||||
return result;
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<QPDFAnnotationObjectHelper>
|
std::vector<QPDFAnnotationObjectHelper>
|
||||||
|
Loading…
Reference in New Issue
Block a user