mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +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();
|
||||
// Keep from creating an empty entry
|
||||
std::set<QPDFObjGen> result;
|
||||
auto iter = this->m->name_to_fields.find(name);
|
||||
if (iter != this->m->name_to_fields.end()) {
|
||||
result = iter->second;
|
||||
return iter->second;
|
||||
}
|
||||
return result;
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<QPDFAnnotationObjectHelper>
|
||||
|
Loading…
Reference in New Issue
Block a user