Commit 5abcbea6 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Make clazy happy

Otherwise when CI gets a new enough poppler it'll start failing
parent d8e47968
Pipeline #18606 passed with stage
in 7 minutes and 43 seconds
......@@ -323,7 +323,8 @@ PopplerFormFieldChoice::PopplerFormFieldChoice( std::unique_ptr<Poppler::FormFie
#ifdef HAVE_POPPLER_0_87
QMap<QString, QString> values;
for ( const QPair<QString, QString> &value : m_field->choicesWithExportValues() )
const auto fieldChoicesWithExportValues = m_field->choicesWithExportValues();
for ( const QPair<QString, QString> &value : fieldChoicesWithExportValues )
{
values.insert(value.first, value.second);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment